[llvm] r322875 - Add a -no-libcxxabi option to the test-release.sh script.
Dimitry Andric via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 10:39:13 PST 2018
Author: dim
Date: Thu Jan 18 10:39:13 2018
New Revision: 322875
URL: http://llvm.org/viewvc/llvm-project?rev=322875&view=rev
Log:
Add a -no-libcxxabi option to the test-release.sh script.
On FreeBSD, it is currently not possible to build libcxxabi and link
against it, so we have been building releases with -no-libs for quite
some time.
However, libcxx and libunwind should build without problems, so provide
an option to skip just libcxxabi.
Modified:
llvm/trunk/utils/release/test-release.sh
Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=322875&r1=322874&r2=322875&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Thu Jan 18 10:39:13 2018
@@ -62,6 +62,7 @@ function usage() {
echo " For example -svn-path trunk or -svn-path branches/release_37"
echo " -no-rt Disable check-out & build Compiler-RT"
echo " -no-libs Disable check-out & build libcxx/libcxxabi/libunwind"
+ echo " -no-libcxxabi Disable check-out & build libcxxabi"
echo " -no-libunwind Disable check-out & build libunwind"
echo " -no-test-suite Disable check-out & build test-suite"
echo " -no-openmp Disable check-out & build libomp"
@@ -135,6 +136,9 @@ while [ $# -gt 0 ]; do
-no-libs )
do_libs="no"
;;
+ -no-libcxxabi )
+ do_libcxxabi="no"
+ ;;
-no-libunwind )
do_libunwind="no"
;;
@@ -206,7 +210,10 @@ if [ $do_rt = "yes" ]; then
projects="$projects compiler-rt"
fi
if [ $do_libs = "yes" ]; then
- projects="$projects libcxx libcxxabi"
+ projects="$projects libcxx"
+ if [ $do_libcxxabi = "yes" ]; then
+ projects="$projects libcxxabi"
+ fi
if [ $do_libunwind = "yes" ]; then
projects="$projects libunwind"
fi
More information about the llvm-commits
mailing list