Skip to content

Commit

Permalink
Merge pull request #48 from ROCm/rocm-jaxlib-v0.4.30-qa-clang20
Browse files Browse the repository at this point in the history
[ROCm] Include clang-19 and clang-20 headers
  • Loading branch information
i-chaochen authored Sep 25, 2024
2 parents a42d9cd + 48a9d97 commit ed5b782
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions third_party/tsl/third_party/gpus/rocm_configure.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ def _rocm_include_path(repository_ctx, rocm_config, bash_bin):
inc_dirs.append(rocm_toolkit_path + "/llvm/lib/clang/18/include")
if int(rocm_config.rocm_version_number) >= 60200:
inc_dirs.append(rocm_toolkit_path + "/lib/llvm/lib/clang/18/include")
inc_dirs.append(rocm_toolkit_path + "/lib/llvm/lib/clang/19/include")
inc_dirs.append(rocm_toolkit_path + "/lib/llvm/lib/clang/20/include")

# Support hcc based off clang 10.0.0 (for ROCm 3.3)
inc_dirs.append(rocm_toolkit_path + "/hcc/compiler/lib/clang/10.0.0/include/")
inc_dirs.append(rocm_toolkit_path + "/hcc/lib/clang/10.0.0/include")
Expand Down

0 comments on commit ed5b782

Please sign in to comment.