Line
Link Here
|
0 |
-- a/third_party/gpus/crosstool/hipcc_cc_toolchain_config.bzl.tpl |
0 |
++ b/third_party/gpus/crosstool/hipcc_cc_toolchain_config.bzl.tpl |
Lines 69-84
Link Here
|
69 |
def _impl(ctx): |
69 |
def _impl(ctx): |
70 |
tool_paths = [ |
70 |
tool_paths = [ |
71 |
tool_path(name = "gcc", path = ctx.attr.host_compiler_path), |
71 |
tool_path(name = "gcc", path = ctx.attr.host_compiler_path), |
72 |
tool_path(name = "ar", path = ctx.attr.host_compiler_prefix + "/ar"), |
72 |
tool_path(name = "ar", path = "/var/tmp/portage/sci-libs/tensorflow-2.2.0/temp/gcc-ar.sh"), |
73 |
tool_path(name = "compat-ld", path = ctx.attr.host_compiler_prefix + "/ld"), |
73 |
tool_path(name = "compat-ld", path = "/usr/bin/ld"), |
74 |
tool_path(name = "cpp", path = ctx.attr.host_compiler_prefix + "/cpp"), |
74 |
tool_path(name = "cpp", path = ctx.attr.host_compiler_prefix + "/cpp"), |
75 |
tool_path(name = "dwp", path = ctx.attr.host_compiler_prefix + "/dwp"), |
75 |
tool_path(name = "dwp", path = "/usr/bin/dwp"), |
76 |
tool_path(name = "gcov", path = ctx.attr.host_compiler_prefix + "/gcov"), |
76 |
tool_path(name = "gcov", path = ctx.attr.host_compiler_prefix + "/gcov"), |
77 |
tool_path(name = "ld", path = ctx.attr.host_compiler_prefix + "/ld"), |
77 |
tool_path(name = "ld", path = "/usr/bin/ld"), |
78 |
tool_path(name = "nm", path = ctx.attr.host_compiler_prefix + "/nm"), |
78 |
tool_path(name = "nm", path = ctx.attr.host_compiler_prefix + "/gcc-nm"), |
79 |
tool_path(name = "objcopy", path = ctx.attr.host_compiler_prefix + "/objcopy"), |
79 |
tool_path(name = "objcopy", path = "/usr/bin/objcopy"), |
80 |
tool_path(name = "objdump", path = ctx.attr.host_compiler_prefix + "/objdump"), |
80 |
tool_path(name = "objdump", path = "/usr/bin/objdump"), |
81 |
tool_path(name = "strip", path = ctx.attr.host_compiler_prefix + "/strip"), |
81 |
tool_path(name = "strip", path = "/usr/bin/strip"), |
82 |
] |
82 |
] |
83 |
|
83 |
|
84 |
action_configs = [] |
84 |
action_configs = [] |