Skip to content

Commit

Permalink
Merge pull request #49 from ROCm/rocm-jaxlib-v0.4.31-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 a04de9c + c48dc2a commit cfc4c64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 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,8 @@ 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/")
Expand Down

0 comments on commit cfc4c64

Please sign in to comment.