[llvm] [Offload][AMDGPU] Enable SPIRV target in build conf (PR #129323)

Jan Patrick Lehr via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 13:35:21 PST 2025


https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/129323

Enable the SPIRV backend on the CMake-cache file buildbots.

>From 2cdb1c27ba6f07463b6b02eebe43adbbbe784378 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Fri, 28 Feb 2025 15:33:00 -0600
Subject: [PATCH] [Offload][AMDGPU] Enable SPIRV target in build conf

Enable the SPIRV backend on the CMake-cache file buildbots.
---
 offload/cmake/caches/AMDGPUBot.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 "")



More information about the llvm-commits mailing list