1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Add -flang flag to the test-release.sh script

The flag is off by default.
This commit is contained in:
Hans Wennborg 2020-07-17 13:22:17 +02:00
parent 6329f986c9
commit c9528722ad

View File

@ -41,6 +41,7 @@ do_lld="yes"
do_lldb="no" do_lldb="no"
do_polly="yes" do_polly="yes"
do_mlir="yes" do_mlir="yes"
do_flang="no"
BuildDir="`pwd`" BuildDir="`pwd`"
ExtraConfigureFlags="" ExtraConfigureFlags=""
ExportBranch="" ExportBranch=""
@ -172,6 +173,9 @@ while [ $# -gt 0 ]; do
-no-mlir ) -no-mlir )
do_mlir="no" do_mlir="no"
;; ;;
-flang )
do_flang="yes"
;;
-help | --help | -h | --h | -\? ) -help | --help | -h | --h | -\? )
usage usage
exit 0 exit 0
@ -261,6 +265,9 @@ fi
if [ $do_mlir = "yes" ]; then if [ $do_mlir = "yes" ]; then
projects="$projects mlir" projects="$projects mlir"
fi fi
if [ $do_flang = "yes" ]; then
projects="$projects flang"
fi
# Go to the build directory (may be different from CWD) # Go to the build directory (may be different from CWD)
BuildDir=$BuildDir/$RC BuildDir=$BuildDir/$RC