Skip to content

Commit

Permalink
Introduce hermetic rocm build
Browse files Browse the repository at this point in the history
  • Loading branch information
alekstheod committed Nov 21, 2024
1 parent 8d53a6c commit 4bdffd0
Show file tree
Hide file tree
Showing 12 changed files with 795 additions and 186 deletions.
6 changes: 3 additions & 3 deletions third_party/tsl/third_party/gpus/crosstool/BUILD.rocm.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ filegroup(
)

filegroup(
name = "crosstool_wrapper_driver_is_not_gcc",
srcs = ["clang/bin/crosstool_wrapper_driver_is_not_gcc"],
name = "crosstool_wrapper_driver_is_not_gcc",
srcs = [":clang/bin/crosstool_wrapper_driver_is_not_gcc"],
data = ["@local_config_rocm//rocm:all_files"],
)

Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def InvokeHipcc(argv, log=False):
hipccopts += defines
hipccopts += std_options
hipccopts += m_options
hipccopts += ' --rocm-path="%{rocm_path}" '

if depfiles:
# Generate the dependency file
Expand Down
Loading

0 comments on commit 4bdffd0

Please sign in to comment.