diff options
author | Chris B <chris.bieneman@me.com> | 2024-03-25 09:16:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 09:16:18 -0500 |
commit | ded6252dfd96ee8904b6d2250bc9e4841ca5c802 (patch) | |
tree | abfb53ecdb64a891c745dc0a3f2b507d04315e4d /clang/cmake | |
parent | 865294b2e67d91d6e6a123db1b71a175e015a210 (diff) | |
download | llvm-ded6252dfd96ee8904b6d2250bc9e4841ca5c802.zip llvm-ded6252dfd96ee8904b6d2250bc9e4841ca5c802.tar.gz llvm-ded6252dfd96ee8904b6d2250bc9e4841ca5c802.tar.bz2 |
[CMake][HLSL] Add SPIRV to target list for build (#86323)
This change just enables the SPIR-V target by default in the HLSL build
configurations. Since SPIR-V support is something we expect from the
full HLSL compiler releases for pairity with DXC we should enable it in
the default developer workflow.
Diffstat (limited to 'clang/cmake')
-rw-r--r-- | clang/cmake/caches/HLSL.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/cmake/caches/HLSL.cmake b/clang/cmake/caches/HLSL.cmake index 71f81e5..84850c8 100644 --- a/clang/cmake/caches/HLSL.cmake +++ b/clang/cmake/caches/HLSL.cmake @@ -4,7 +4,7 @@ set(LLVM_TARGETS_TO_BUILD Native 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 CACHE STRING "") +set(LLVM_EXPERIMENTAL_TARGETS_TO_BUILD "DirectX;SPIRV" CACHE STRING "") # HLSL support is currently limted to clang, eventually it will expand to # clang-tools-extra too. |