Skip to content

Commit

Permalink
Add -flang flag to the test-release.sh script
Browse files Browse the repository at this point in the history
The flag is off by default.

(cherry picked from commit 033ef84)
  • Loading branch information
zmodem committed Jul 17, 2020
1 parent b35b720 commit 1dc182b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions llvm/utils/release/test-release.sh
Expand Up @@ -41,6 +41,7 @@ do_lld="yes"
do_lldb="no"
do_polly="yes"
do_mlir="yes"
do_flang="no"
BuildDir="`pwd`"
ExtraConfigureFlags=""
ExportBranch=""
Expand Down Expand Up @@ -172,6 +173,9 @@ while [ $# -gt 0 ]; do
-no-mlir )
do_mlir="no"
;;
-flang )
do_flang="yes"
;;
-help | --help | -h | --h | -\? )
usage
exit 0
Expand Down Expand Up @@ -261,6 +265,9 @@ fi
if [ $do_mlir = "yes" ]; then
projects="$projects mlir"
fi
if [ $do_flang = "yes" ]; then
projects="$projects flang"
fi

# Go to the build directory (may be different from CWD)
BuildDir=$BuildDir/$RC
Expand Down

0 comments on commit 1dc182b

Please sign in to comment.