Skip to content

Commit

Permalink
[test-release.sh] Add lldb to list of projects (disabled by default)
Browse files Browse the repository at this point in the history
Reviewers: hans

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@262211 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
dsandersllvm committed Feb 29, 2016
1 parent f7ae2f5 commit 0562fb3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions utils/release/test-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
;;
Expand Down

0 comments on commit 0562fb3

Please sign in to comment.