summaryrefslogtreecommitdiff
path: root/utils/release
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2017-02-04 22:24:55 +0000
committerDimitry Andric <dimitry@andric.com>2017-02-04 22:24:55 +0000
commit68a49ae82c29dd7cc715178667ccc91bf8aafb51 (patch)
tree44f3615153d405f527585f038588a88fe4778e78 /utils/release
parent598cdd31a0f19703ec4a0c8044ee1734d1ad9fb8 (diff)
Add lld to the test-release.sh script
Building lld is enabled by default, but it can be disabled using the -no-lld option. Reviewers: tstellarAMD, rengolin, hans Reviewed By: hans Subscribers: grosser, wdng, emaste, llvm-commits Differential Revision: https://reviews.llvm.org/D29539 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294102 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 642bb670e7e..b0c77157980 100755
--- a/utils/release/test-release.sh
+++ b/utils/release/test-release.sh
@@ -36,6 +36,7 @@ do_libs="yes"
do_libunwind="yes"
do_test_suite="yes"
do_openmp="yes"
+do_lld="yes"
do_lldb="no"
do_polly="no"
BuildDir="`pwd`"
@@ -64,6 +65,7 @@ function usage() {
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"
+ echo " -no-lld Disable check-out & build lld"
echo " -lldb Enable check-out & build lldb"
echo " -no-lldb Disable check-out & build lldb (default)"
echo " -polly Enable check-out & build Polly"
@@ -143,6 +145,9 @@ while [ $# -gt 0 ]; do
-no-openmp )
do_openmp="no"
;;
+ -no-lld )
+ do_lld="no"
+ ;;
-lldb )
do_lldb="yes"
;;
@@ -225,6 +230,9 @@ esac
if [ $do_openmp = "yes" ]; then
projects="$projects openmp"
fi
+if [ $do_lld = "yes" ]; then
+ projects="$projects lld"
+fi
if [ $do_lldb = "yes" ]; then
projects="$projects lldb"
fi
@@ -297,7 +305,7 @@ function export_sources() {
cfe)
projsrc=llvm.src/tools/clang
;;
- lldb|polly)
+ lld|lldb|polly)
projsrc=llvm.src/tools/$proj
;;
clang-tools-extra)