Skip to content

Commit

Permalink
Merging r243633:
Browse files Browse the repository at this point in the history
------------------------------------------------------------------------
r243633 | dsanders | 2015-07-30 11:14:57 +0100 (Thu, 30 Jul 2015) | 11 lines

[test-release.sh] Add -no-libunwind to disable it on targets that don't support it.

Summary:
Mips doesn't implement unw_getcontext() or libunwind::Registers_*::jumpto() yet
so we must disable libunwind for this release.

Reviewers: hans

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11563
------------------------------------------------------------------------

llvm-svn: 243634
  • Loading branch information
dsandersllvm committed Jul 30, 2015
1 parent ad25393 commit 4a08cec
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion llvm/utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ do_asserts="no"
do_compare="yes"
do_rt="yes"
do_libs="yes"
do_libunwind="yes"
do_test_suite="yes"
do_openmp="no"
BuildDir="`pwd`"
Expand All @@ -56,6 +57,7 @@ function usage() {
echo " -use-autoconf Use autoconf instead of cmake"
echo " -no-rt Disable check-out & build Compiler-RT"
echo " -no-libs Disable check-out & build libcxx/libcxxabi/libunwind"
echo " -no-libunwind Disable check-out & build libunwind"
echo " -no-test-suite Disable check-out & build test-suite"
echo " -openmp Check out and build the OpenMP run-time (experimental)"
}
Expand Down Expand Up @@ -122,6 +124,9 @@ while [ $# -gt 0 ]; do
-no-libs )
do_libs="no"
;;
-no-libunwind )
do_libunwind="no"
;;
-no-test-suite )
do_test_suite="no"
;;
Expand Down Expand Up @@ -175,7 +180,10 @@ if [ $do_rt = "yes" ]; then
projects="$projects compiler-rt"
fi
if [ $do_libs = "yes" ]; then
projects="$projects libcxx libcxxabi libunwind"
projects="$projects libcxx libcxxabi"
if [ $do_libunwind = "yes" ]; then
projects="$projects libunwind"
fi
fi
if [ $do_test_suite = "yes" ]; then
projects="$projects test-suite"
Expand Down

0 comments on commit 4a08cec

Please sign in to comment.