[llvm] [Offload][AMDGPU] Enable SPIRV target in build conf (PR #129323)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 28 13:35:53 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
Enable the SPIRV backend on the CMake-cache file buildbots.
---
Full diff: https://github.com/llvm/llvm-project/pull/129323.diff
1 Files Affected:
- (modified) offload/cmake/caches/AMDGPUBot.cmake (+1-1)
``````````diff
diff --git a/offload/cmake/caches/AMDGPUBot.cmake b/offload/cmake/caches/AMDGPUBot.cmake
index f04f3de2cb145..521841166be82 100644
--- a/offload/cmake/caches/AMDGPUBot.cmake
+++ b/offload/cmake/caches/AMDGPUBot.cmake
@@ -14,7 +14,7 @@ set(LLVM_ENABLE_RUNTIMES "compiler-rt;openmp;offload" CACHE STRING "")
set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")
set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(LLVM_TARGETS_TO_BUILD "host;AMDGPU" CACHE STRING "")
+set(LLVM_TARGETS_TO_BUILD "host;AMDGPU;SPIRV" CACHE STRING "")
set(LLVM_LIT_ARGS "-v --show-unsupported --timeout 100 --show-xfail -j 32" CACHE STRING "")
set(CLANG_DEFAULT_LINKER "lld" CACHE STRING "")
``````````
</details>
https://github.com/llvm/llvm-project/pull/129323
More information about the llvm-commits
mailing list