Skip to content

Commit

Permalink
Fix when build with local installation
Browse files Browse the repository at this point in the history
  • Loading branch information
alekstheod committed Nov 12, 2024
1 parent ae875cd commit 8388ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/tsl/third_party/gpus/rocm_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ def _rocm_include_path(repository_ctx, rocm_config, bash_bin):
inc_dirs.append(rocm_config.rocm_toolkit_path + "/include/rocsolver")
inc_dirs.append(rocm_config.rocm_toolkit_path + "/include/rocblas")

# Add HIP-Clang headers (realpath relative to compiler binary)
rocm_toolkit_path = realpath(repository_ctx, rocm_config.rocm_toolkit_path, bash_bin)
# Add full paths
rocm_toolkit_path = str(repository_ctx.path(rocm_config.rocm_toolkit_path))
inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/8.0/include")
inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/9.0.0/include")
inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/10.0.0/include")
Expand Down

0 comments on commit 8388ee1

Please sign in to comment.