Skip to content

Commit ecb74f3

Browse files
authored
Be consistent about trunk's experimental targets (#94)
This updates `assertions-trunk` to match `trunk` with respect to experimental targets. - We no longer need to list SPIRV in experimental targets - it was promoted out of experimental back in January. - The DirectX and M68k targets will now be available in asserts. - The DirectX target isn't very useful without HLSL support, so this adds the `-DCLANG_ENABLE_HLSL=On` flag as well.
1 parent 409b786 commit ecb74f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ mlir-*)
303303
BRANCH=main
304304
VERSION=trunk-$(date +%Y%m%d)
305305
PATCHES_TO_APPLY+=("${ROOT}/patches/ce-debug-clang-trunk.patch")
306-
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="DirectX;SPIRV;M68k"
306+
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="DirectX;M68k"
307307
CMAKE_EXTRA_ARGS+=("-DCLANG_ENABLE_HLSL=On" "-DLIBCXX_INSTALL_MODULES=ON")
308308
LLVM_ENABLE_RUNTIMES+=";libunwind"
309309
;;
@@ -318,7 +318,8 @@ mlir-*)
318318
assertions-trunk)
319319
BRANCH=main
320320
VERSION=assertions-trunk-$(date +%Y%m%d)
321-
CMAKE_EXTRA_ARGS+=("-DLLVM_ENABLE_ASSERTIONS=ON" "-DLIBCXX_INSTALL_MODULES=ON")
321+
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="DirectX;M68k"
322+
CMAKE_EXTRA_ARGS+=("-DLLVM_ENABLE_ASSERTIONS=ON" "-DCLANG_ENABLE_HLSL=On" "-DLIBCXX_INSTALL_MODULES=ON")
322323
LLVM_ENABLE_RUNTIMES+=";libunwind"
323324
PATCHES_TO_APPLY+=("${ROOT}/patches/ce-debug-clang-trunk.patch")
324325
;;

0 commit comments

Comments
 (0)