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

Pete Steinfeld via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 10:31:16 PST 2020


PeteSteinfeld created this revision.
PeteSteinfeld added reviewers: sscalpone, tskeith.
PeteSteinfeld requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93131

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


Index: flang/tools/f18/flang.sh.in
===================================================================
--- flang/tools/f18/flang.sh.in
+++ flang/tools/f18/flang.sh.in
@@ -26,4 +26,4 @@
 
 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 $*


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93131.311272.patch
Type: text/x-patch
Size: 412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201211/a13c8d2a/attachment.bin>


More information about the llvm-commits mailing list