Skip to content

Commit ce1b055

Browse files
authored
Use libunwind for recent clang versions (#58)
libunwind is required to build libc++ as of llvm/llvm-project#77687 (comment) It was already used for numbered versions, but not trunk. I also updated my branch and left everything else alone as I did not know whether they use version of clang that can build libunwind
1 parent cf8a1d5 commit ce1b055

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ autonsdmi-trunk)
2929
URL=https://github.com/cor3ntin/llvm-project.git
3030
VERSION=autonsdmi-trunk-$(date +%Y%m%d)
3131
CMAKE_EXTRA_ARGS+=("-DLLVM_OPTIMIZED_TABLEGEN=ON")
32+
LLVM_ENABLE_RUNTIMES+=";libunwind"
3233
;;
3334
cppx-trunk)
3435
BRANCH=compiler-explorer
@@ -187,6 +188,7 @@ mlir-*)
187188
PATCHES_TO_APPLY+=("${ROOT}/patches/ce-debug-clang-trunk.patch")
188189
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD="DirectX;SPIRV;M68k"
189190
CMAKE_EXTRA_ARGS+=("-DCLANG_ENABLE_HLSL=On")
191+
LLVM_ENABLE_RUNTIMES+=";libunwind"
190192
;;
191193
assertions-trunk)
192194
BRANCH=main

0 commit comments

Comments
 (0)