[all-commits] [llvm/llvm-project] f6b577: [flang] Fix -intrinsic-module-directory in flang s...

Tim Keith via All-commits all-commits at lists.llvm.org
Thu Dec 17 19:08:56 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6b577ed5bf61078cdcf60e94867b75c94f540a7
      https://github.com/llvm/llvm-project/commit/f6b577ed5bf61078cdcf60e94867b75c94f540a7
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    M flang/tools/f18/CMakeLists.txt
    A flang/tools/f18/flang
    R flang/tools/f18/flang.sh.in

  Log Message:
  -----------
  [flang] Fix -intrinsic-module-directory in flang script

The flang wrapper script that was created as bin/flang in an in-tree
build did not have a correct -intrinsic-module-directory option.
It was correct for out-of-tree builds and for both kinds of installs.

The fix is to pick the correct directory based on what exists.

The script is no longer configured by cmake (just copied) so that
mechanism can be deleted from the cmake file.

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




More information about the All-commits mailing list