Skip to content

Commit

Permalink
[test-release.sh] Add Polly to the list of projects
Browse files Browse the repository at this point in the history
Reviewers: zinob, hans, grosser

Reviewed By: hans, grosser

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D28712

llvm-svn: 292323
  • Loading branch information
Pengxuan Zheng committed Jan 18, 2017
1 parent 73e3aaa commit ac6595c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion llvm/utils/release/test-release.sh
Expand Up @@ -37,6 +37,7 @@ do_libunwind="yes"
do_test_suite="yes"
do_openmp="yes"
do_lldb="no"
do_polly="no"
BuildDir="`pwd`"
ExtraConfigureFlags=""
ExportBranch=""
Expand Down Expand Up @@ -65,6 +66,8 @@ function usage() {
echo " -no-openmp Disable check-out & build libomp"
echo " -lldb Enable check-out & build lldb"
echo " -no-lldb Disable check-out & build lldb (default)"
echo " -polly Enable check-out & build Polly"
echo " -no-polly Disable check-out & build Polly (default)"
}

while [ $# -gt 0 ]; do
Expand Down Expand Up @@ -146,6 +149,12 @@ while [ $# -gt 0 ]; do
-no-lldb )
do_lldb="no"
;;
-polly )
do_polly="yes"
;;
-no-polly )
do_polly="no"
;;
-help | --help | -h | --h | -\? )
usage
exit 0
Expand Down Expand Up @@ -219,6 +228,9 @@ fi
if [ $do_lldb = "yes" ]; then
projects="$projects lldb"
fi
if [ $do_polly = "yes" ]; then
projects="$projects polly"
fi

# Go to the build directory (may be different from CWD)
BuildDir=$BuildDir/$RC
Expand Down Expand Up @@ -285,7 +297,7 @@ function export_sources() {
cfe)
projsrc=llvm.src/tools/clang
;;
lldb)
lldb|polly)
projsrc=llvm.src/tools/$proj
;;
clang-tools-extra)
Expand Down

0 comments on commit ac6595c

Please sign in to comment.