[PATCH] D97164: [flang] Add -J and -module-dir to f18 driver
Tim Keith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 22 09:02:39 PST 2021
tskeith added a comment.
In D97164#2578602 <https://reviews.llvm.org/D97164#2578602>, @awarzynski wrote:
> Thank you for submitting this Tim!
>
> Would you mind adding the following in flang/test/Flang-Driver/write-module.f90 before merging? This way both `-module-dir` _and_ `-J` are tested.
>
> ! RUN: rm -rf %t && mkdir -p %t/dir-flang
> ! RUN: cd %t && %flang -fsyntax-only -J %t/dir-flang %s
> ! RUN: ls %t/dir-flang/testmodule.mod && not ls %t/testmodule.mod
OK. I also added a test for `-J` without a space after it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97164/new/
https://reviews.llvm.org/D97164
More information about the llvm-commits
mailing list