[clang] [HLSL] Include SPIRV in LLVM_TARGETS_TO_BUILD in the HLSL cmake cache (PR #133287)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 10:52:43 PDT 2025
================
@@ -1,13 +1,10 @@
# Including the native target is important because some of LLVM's tests fail if
# you don't.
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
+set(LLVM_TARGETS_TO_BUILD "Native;SPIRV" CACHE STRING "")
-# Include the DirectX target for DXIL code generation, eventually we'll include
-# SPIR-V here too.
-set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD "DirectX;SPIRV" CACHE STRING "")
+# Include the DirectX target for DXIL code generation.
+set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD "DirectX" CACHE STRING "")
-# HLSL support is currently limted to clang, eventually it will expand to
----------------
joaosaffran wrote:
nit: Did we contribute to `clang-tools-extra` already? :)
https://github.com/llvm/llvm-project/pull/133287
More information about the cfe-commits
mailing list