[all-commits] [llvm/llvm-project] 8720ec: [flang] Add -J and -module-dir to f18 driver

Tim Keith via All-commits all-commits at lists.llvm.org
Mon Feb 22 09:04:18 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8720ec6b9a288b686089c5137dda64001a7a9f38
      https://github.com/llvm/llvm-project/commit/8720ec6b9a288b686089c5137dda64001a7a9f38
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    A flang/test/Driver/write-module.f90
    M flang/test/Flang-Driver/write-module.f90
    M flang/tools/f18/f18.cpp

  Log Message:
  -----------
  [flang] Add -J and -module-dir to f18 driver

Add -J to the f18 driver for compatibility with gfortran.
Add -module-dir for compatibility with the new flang driver.

They both set the output directory for .mod files and add the
directory to the search list. -module still only does the former.

Clean up the new driver test to match.

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




More information about the All-commits mailing list