[PATCH] D112748: [release] Use the Bootstrapping build for building LLVM releases
Louis Dionne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 06:49:13 PST 2021
ldionne updated this revision to Diff 393877.
ldionne added a comment.
Rebase onto main and fix bug with compiler-rt.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112748/new/
https://reviews.llvm.org/D112748
Files:
llvm/utils/release/test-release.sh
Index: llvm/utils/release/test-release.sh
===================================================================
--- llvm/utils/release/test-release.sh
+++ llvm/utils/release/test-release.sh
@@ -236,16 +236,17 @@
# Projects list
projects="llvm clang clang-tools-extra"
+runtimes=""
if [ $do_rt = "yes" ]; then
- projects="$projects compiler-rt"
+ runtimes="$runtimes compiler-rt"
fi
if [ $do_libs = "yes" ]; then
- projects="$projects libcxx"
+ runtimes="$runtimes libcxx"
if [ $do_libcxxabi = "yes" ]; then
- projects="$projects libcxxabi"
+ runtimes="$runtimes libcxxabi"
fi
if [ $do_libunwind = "yes" ]; then
- projects="$projects libunwind"
+ runtimes="$runtimes libunwind"
fi
fi
case $do_test_suite in
@@ -377,6 +378,7 @@
esac
project_list=${projects// /;}
+ runtime_list=${runtimes// /;}
echo "# Using C compiler: $c_compiler"
echo "# Using C++ compiler: $cxx_compiler"
@@ -389,6 +391,7 @@
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DLLVM_ENABLE_PROJECTS="$project_list" \
-DLLVM_LIT_ARGS="-j $NumJobs" \
+ -DLLVM_ENABLE_RUNTIMES="$runtime_list" \
$ExtraConfigureFlags $BuildDir/llvm-project/llvm \
2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log
env CC="$c_compiler" CXX="$cxx_compiler" \
@@ -397,6 +400,7 @@
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DLLVM_ENABLE_PROJECTS="$project_list" \
-DLLVM_LIT_ARGS="-j $NumJobs" \
+ -DLLVM_ENABLE_RUNTIMES="$runtime_list" \
$ExtraConfigureFlags $BuildDir/llvm-project/llvm \
2>&1 | tee $LogDir/llvm.configure-Phase$Phase-$Flavor.log
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112748.393877.patch
Type: text/x-patch
Size: 1659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211213/afe2f91c/attachment.bin>
More information about the llvm-commits
mailing list