[flang-commits] [flang] 84c09ab - [flang] Removed an absolute path from the "flang" script

Peter Steinfeld via flang-commits flang-commits at lists.llvm.org
Fri Dec 11 14:02:28 PST 2020


Author: Peter Steinfeld
Date: 2020-12-11T14:01:59-08:00
New Revision: 84c09ab44599ece409e4e19761288ddf796fceec

URL: https://github.com/llvm/llvm-project/commit/84c09ab44599ece409e4e19761288ddf796fceec
DIFF: https://github.com/llvm/llvm-project/commit/84c09ab44599ece409e4e19761288ddf796fceec.diff

LOG: [flang] Removed an absolute path from the "flang" script

The "flang" script that gets put into "install/bin" had an absolute path
in it.  This precuded moving the install directory to a new location.

Differential Revision: https://reviews.llvm.org/D93131

Added: 
    

Modified: 
    flang/tools/f18/flang.sh.in

Removed: 
    


################################################################################
diff  --git a/flang/tools/f18/flang.sh.in b/flang/tools/f18/flang.sh.in
index 7f0d1335aec4..295d93abbeb6 100644
--- a/flang/tools/f18/flang.sh.in
+++ b/flang/tools/f18/flang.sh.in
@@ -26,4 +26,4 @@ function abspath() {
 
 wd=`abspath $(dirname "$0")/..`
 
-${wd}/bin/f18 -module-suffix .f18.mod -intrinsic-module-directory @FLANG_INTRINSIC_MODULES_DIR@ $*
+${wd}/bin/f18 -module-suffix .f18.mod -intrinsic-module-directory ${wd}/include/flang $*


        


More information about the flang-commits mailing list