mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-14 15:46:32 +00:00
[HLSL] Include SPIRV in LLVM_TARGETS_TO_BUILD in the HLSL cmake cache (#133287)
Since SPIRV is no longer an experimental target this wasn't actually enabling it any more.
This commit is contained in:
parent
28a391848c
commit
48bad5bbcd
@ -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
|
||||
# clang-tools-extra too.
|
||||
set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra" CACHE STRING "")
|
||||
|
||||
set(CLANG_ENABLE_HLSL On CACHE BOOL "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user