test-release.sh: Add MLIR to the projects list

This commit is contained in:
Hans Wennborg 2020-01-30 14:30:30 +01:00
parent b4a0766c8d
commit ef465d0ad2
1 changed files with 8 additions and 0 deletions

View File

@ -40,6 +40,7 @@ do_openmp="yes"
do_lld="yes"
do_lldb="no"
do_polly="yes"
do_mlir="yes"
BuildDir="`pwd`"
ExtraConfigureFlags=""
ExportBranch=""
@ -72,6 +73,7 @@ function usage() {
echo " -lldb Enable check-out & build lldb"
echo " -no-lldb Disable check-out & build lldb (default)"
echo " -no-polly Disable check-out & build Polly"
echo " -no-mlir Disable check-out & build MLIR"
}
while [ $# -gt 0 ]; do
@ -167,6 +169,9 @@ while [ $# -gt 0 ]; do
-no-polly )
do_polly="no"
;;
-no-mlir )
do_mlir="no"
;;
-help | --help | -h | --h | -\? )
usage
exit 0
@ -253,6 +258,9 @@ fi
if [ $do_polly = "yes" ]; then
projects="$projects polly"
fi
if [ $do_mlir = "yes" ]; then
projects="$projects mlir"
fi
# Go to the build directory (may be different from CWD)
BuildDir=$BuildDir/$RC