Commit 478ea4b4 authored by Hans Wennborg's avatar Hans Wennborg
Browse files

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

(cherry picked from commit ef465d0a)
parent e40782f3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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