test-release.sh: Add MLIR to the projects list
authorHans Wennborg <hans@chromium.org>
Thu, 30 Jan 2020 13:30:30 +0000 (14:30 +0100)
committerHans Wennborg <hans@chromium.org>
Thu, 30 Jan 2020 13:31:02 +0000 (14:31 +0100)
llvm/utils/release/test-release.sh

index 5165c95..3cd101e 100755 (executable)
@@ -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