diff options
author | Dimitry Andric <dimitry@andric.com> | 2018-01-18 18:39:13 +0000 |
---|---|---|
committer | Dimitry Andric <dimitry@andric.com> | 2018-01-18 18:39:13 +0000 |
commit | d05541f7d6ec3db9210b4cdd3d1f3a5e549ebdf5 (patch) | |
tree | 21f0e50ddccf8dfbb59d9a658104b34aff876cd2 /llvm/utils/release | |
parent | 3c8e2bf830c567c59b9d16bf52774e0c0a756f2e (diff) | |
download | bcm5719-llvm-d05541f7d6ec3db9210b4cdd3d1f3a5e549ebdf5.tar.gz bcm5719-llvm-d05541f7d6ec3db9210b4cdd3d1f3a5e549ebdf5.zip |
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.
llvm-svn: 322875
Diffstat (limited to 'llvm/utils/release')
-rwxr-xr-x | llvm/utils/release/test-release.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh index 66a2c578083..b36d17da0d0 100755 --- a/llvm/utils/release/test-release.sh +++ b/llvm/utils/release/test-release.sh @@ -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 |