Skip to content

Commit

Permalink
Replace deprecated CUDA_TOOLKIT_ROOT_DIR with CUDAToolkit_ROOT (#213)
Browse files Browse the repository at this point in the history
LLVM does not use CUDA_TOOLKIT_ROOT_DIR anymore after
llvm/llvm-project@3de162f.
Instead use `CUDAToolkit_ROOT` to let CMake search for CUDA.
  • Loading branch information
Meinersbur authored Jun 21, 2024
1 parent e742315 commit 3abee03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@
clean=True,
enable_runtimes=['offload'],
extraCmakeArgs=[
"-DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda",
"-DCUDAToolkit_ROOT=/opt/cuda",
"-DCLANG_ENABLE_STATIC_ANALYZER=OFF",
"-DCLANG_ENABLE_ARCMT=OFF",
"-DCLANG_ENABLE_OBJC_REWRITER=OFF",
Expand Down Expand Up @@ -1787,7 +1787,7 @@
clean=True,
enable_runtimes=['openmp', 'offload'],
extraCmakeArgs=[
"-DCUDA_TOOLKIT_ROOT_DIR=/opt/cuda",
"-DCUDAToolkit_ROOT=/opt/cuda",
"-DCLANG_ENABLE_STATIC_ANALYZER=OFF",
"-DCLANG_ENABLE_ARCMT=OFF",
"-DCLANG_ENABLE_OBJC_REWRITER=OFF",
Expand Down

0 comments on commit 3abee03

Please sign in to comment.