[test-release.sh] Add lldb to list of projects (disabled by default)
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 29 Feb 2016 11:04:39 +0000 (11:04 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 29 Feb 2016 11:04:39 +0000 (11:04 +0000)
Reviewers: hans

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D17070

llvm-svn: 262211

llvm/utils/release/test-release.sh

index 8d71bc7..fed7eed 100755 (executable)
@@ -36,6 +36,7 @@ do_libs="yes"
 do_libunwind="yes"
 do_test_suite="yes"
 do_openmp="yes"
+do_lldb="no"
 BuildDir="`pwd`"
 use_autoconf="no"
 ExtraConfigureFlags=""
@@ -64,6 +65,8 @@ 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 " -lldb                Enable check-out & build lldb"
+    echo " -no-lldb             Disable check-out & build lldb (default)"
 }
 
 while [ $# -gt 0 ]; do
@@ -142,6 +145,12 @@ while [ $# -gt 0 ]; do
         -no-openmp )
             do_openmp="no"
             ;;
+        -lldb )
+            do_lldb="yes"
+            ;;
+        -no-lldb )
+            do_lldb="no"
+            ;;
         -help | --help | -h | --h | -\? )
             usage
             exit 0
@@ -214,6 +223,9 @@ esac
 if [ $do_openmp = "yes" ]; then
   projects="$projects openmp"
 fi
+if [ $do_lldb = "yes" ]; then
+  projects="$projects lldb"
+fi
 
 # Go to the build directory (may be different from CWD)
 BuildDir=$BuildDir/$RC
@@ -280,6 +292,9 @@ function export_sources() {
         cfe)
             projsrc=llvm.src/tools/clang
             ;;
+        lldb)
+            projsrc=llvm.src/tools/$proj
+            ;;
         clang-tools-extra)
             projsrc=llvm.src/tools/clang/tools/extra
             ;;