Index: utils/release/test-release.sh =================================================================== --- utils/release/test-release.sh +++ utils/release/test-release.sh @@ -36,6 +36,7 @@ do_libunwind="yes" do_test_suite="yes" do_openmp="yes" +do_lldb="no" BuildDir="`pwd`" use_autoconf="no" ExtraConfigureFlags="" @@ -64,6 +65,8 @@ 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 @@ -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 @@ 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 @@ cfe) projsrc=llvm.src/tools/clang ;; + lldb) + projsrc=llvm.src/tools/$proj + ;; clang-tools-extra) projsrc=llvm.src/tools/clang/tools/extra ;;