[llvm] 033ef84 - Add -flang flag to the test-release.sh script

Hans Wennborg via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 04:30:38 PDT 2020


Author: Hans Wennborg
Date: 2020-07-17T13:30:14+02:00
New Revision: 033ef8420cec57187fffac1f06322f73aa945c4c

URL: https://github.com/llvm/llvm-project/commit/033ef8420cec57187fffac1f06322f73aa945c4c
DIFF: https://github.com/llvm/llvm-project/commit/033ef8420cec57187fffac1f06322f73aa945c4c.diff

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

The flag is off by default.

Added: 
    

Modified: 
    llvm/utils/release/test-release.sh

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/test-release.sh b/llvm/utils/release/test-release.sh
index 5a8e5c244ecf..5351ae1064f9 100755
--- a/llvm/utils/release/test-release.sh
+++ b/llvm/utils/release/test-release.sh
@@ -41,6 +41,7 @@ do_lld="yes"
 do_lldb="no"
 do_polly="yes"
 do_mlir="yes"
+do_flang="no"
 BuildDir="`pwd`"
 ExtraConfigureFlags=""
 ExportBranch=""
@@ -172,6 +173,9 @@ while [ $# -gt 0 ]; do
         -no-mlir )
             do_mlir="no"
             ;;
+        -flang )
+            do_flang="yes"
+            ;;
         -help | --help | -h | --h | -\? )
             usage
             exit 0
@@ -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 
diff erent from CWD)
 BuildDir=$BuildDir/$RC


        


More information about the llvm-commits mailing list