Skip to content

Commit d2ae492

Browse files
authored
Fix build of clang "resugar" experimental variant (#82)
This adds libunwind to the list of runtimes, and uses optimzied tablegen for faster build, since assertions are on.
1 parent a56bcdb commit d2ae492

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ mizvekov-resugar)
7373
BRANCH=resugar
7474
URL=https://github.com/mizvekov/llvm-project.git
7575
VERSION=mizvekov-resugar-$(date +%Y%m%d)
76-
CMAKE_EXTRA_ARGS+=("-DLLVM_ENABLE_ASSERTIONS=ON")
76+
CMAKE_EXTRA_ARGS+=("-DLLVM_ENABLE_ASSERTIONS=ON" "-DLLVM_OPTIMIZED_TABLEGEN=ON")
77+
LLVM_ENABLE_RUNTIMES+=";libunwind"
7778
;;
7879
lifetime-trunk)
7980
BRANCH=lifetime

0 commit comments

Comments
 (0)