[libc-commits] [clang] [libc] [llvm] [OFFLOAD] Add support to build libc for SPIRV backend (PR #181049)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Feb 16 16:30:31 PST 2026


================
@@ -225,13 +225,14 @@ endif()
 
 foreach(_name ${LLVM_RUNTIME_TARGETS})
   if("libc" IN_LIST RUNTIMES_${_name}_LLVM_ENABLE_RUNTIMES)
-    if("${_name}" STREQUAL "amdgcn-amd-amdhsa" OR "${_name}" STREQUAL "nvptx64-nvidia-cuda")
+    if("${_name}" STREQUAL "amdgcn-amd-amdhsa" OR "${_name}" STREQUAL "nvptx64-nvidia-cuda" OR "${_name}" STREQUAL "spirv64-intel-unknown")
----------------
jhuber6 wrote:

Fine for now, but I should do some work to get rid of this, I think it was only necessary for detecting if this was on in the offload project.

https://github.com/llvm/llvm-project/pull/181049


More information about the libc-commits mailing list