[clang] [HLSL] Include SPIRV in LLVM_TARGETS_TO_BUILD in the HLSL cmake cache (PR #133287)
Justin Bogner via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 27 11:18:14 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
----------------
bogner wrote:
Not a lot, but this comment wasn't really adding anything meaningful and will quickly get out of date.
https://github.com/llvm/llvm-project/pull/133287
More information about the cfe-commits
mailing list