summaryrefslogtreecommitdiff
path: root/utils/release
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-07-30 10:14:57 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-07-30 10:14:57 +0000
commit4b26be60668f4c7654fd376f4bb8d01a06000282 (patch)
tree73b5c495af7bb9ee8c2319110c8f3dcdbcbc8d13 /utils/release
parent78a589c319e4f9d5f43b5afbe07ab48bb38d0745 (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/release')
-rwxr-xr-xutils/release/test-release.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/utils/release/test-release.sh b/utils/release/test-release.sh
index 73bfb804584..a10e4fd9a16 100755
--- a/utils/release/test-release.sh
+++ b/utils/release/test-release.sh
@@ -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`"
@@ -59,6 +60,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-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)"
}
@@ -135,6 +137,9 @@ while [ $# -gt 0 ]; do
-no-libs )
do_libs="no"
;;
+ -no-libunwind )
+ do_libunwind="no"
+ ;;
-no-test-suite )
do_test_suite="no"
;;
@@ -191,7 +196,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"