[llvm] r294102 - Add lld to the test-release.sh script
Dimitry Andric via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 4 14:24:55 PST 2017
Author: dim
Date: Sat Feb 4 16:24:55 2017
New Revision: 294102
URL: http://llvm.org/viewvc/llvm-project?rev=294102&view=rev
Log:
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
Modified:
llvm/trunk/utils/release/test-release.sh
Modified: llvm/trunk/utils/release/test-release.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/release/test-release.sh?rev=294102&r1=294101&r2=294102&view=diff
==============================================================================
--- llvm/trunk/utils/release/test-release.sh (original)
+++ llvm/trunk/utils/release/test-release.sh Sat Feb 4 16:24:55 2017
@@ -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)
More information about the llvm-commits
mailing list