[PATCH] D11563: [test-release.sh] Add -no-libunwind to disable it on targets that don't support it.
Daniel Sanders
daniel.sanders at imgtec.com
Tue Jul 28 07:47:18 PDT 2015
dsanders created this revision.
dsanders added a reviewer: hans.
dsanders added a subscriber: llvm-commits.
Mips doesn't implement unw_getcontext() or libunwind::Registers_*::jumpto() yet
so we must disable libunwind for this release.
http://reviews.llvm.org/D11563
Files:
utils/release/test-release.sh
Index: utils/release/test-release.sh
===================================================================
--- utils/release/test-release.sh
+++ utils/release/test-release.sh
@@ -32,6 +32,7 @@
do_compare="yes"
do_rt="yes"
do_libs="yes"
+do_libunwind="yes"
do_test_suite="yes"
BuildDir="`pwd`"
use_autoconf="no"
@@ -55,6 +56,7 @@
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"
}
@@ -120,6 +122,9 @@
-no-libs )
do_libs="no"
;;
+ -no-libunwind )
+ do_libunwind="no"
+ ;;
-no-test-suite )
do_test_suite="no"
;;
@@ -170,7 +175,10 @@
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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11563.30816.patch
Type: text/x-patch
Size: 1270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150728/4f342537/attachment.bin>
More information about the llvm-commits
mailing list