From 1510d14336d774d4d93d2307bcc61743a78596b4 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Thu, 4 Jul 2024 12:13:00 -0400 Subject: [PATCH] Add compiler-rt to the "relocatable" (P1144) builder (#65) Trying to make the sanitizers work. Not sure if this will achieve that goal, but it gets this builder closer to the clang-trunk builder, anyway. --- build/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build/build.sh b/build/build.sh index 74eebf7..37eb7f2 100755 --- a/build/build.sh +++ b/build/build.sh @@ -9,7 +9,7 @@ GCC_VERSION=9.2.0 declare -a CMAKE_EXTRA_ARGS declare -a NINJA_EXTRA_TARGETS declare -a NINJA_EXTRA_TARGETS_NO_FAIL -LLVM_ENABLE_PROJECTS="clang;" +LLVM_ENABLE_PROJECTS="clang" LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" LLVM_EXPERIMENTAL_TARGETS_TO_BUILD= BASENAME=clang @@ -95,7 +95,8 @@ relocatable-trunk) BRANCH=trivially-relocatable URL=https://github.com/Quuxplusone/llvm-project.git VERSION=relocatable-trunk-$(date +%Y%m%d) - LLVM_ENABLE_RUNTIMES+=";libunwind" + LLVM_ENABLE_PROJECTS="clang" + LLVM_ENABLE_RUNTIMES="compiler-rt;libcxx;libcxxabi;libunwind" ;; patmat-trunk) BRANCH=llvmorg-master-pattern-matching