[PATCH] D63607: [clang][driver] Add basic --driver-mode=flang support for fortran

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 30 09:21:23 PDT 2019


thakis added a comment.

> @thakis: I can't make quick sense of the failure from those logs alone. I would appreciate it very much to see the output of the `clang -###` run lines to see what's missing. It should be showing that it would invoke flang.

It's the very first run line that's failing. The output looks like so:

  $ out/gn/bin/clang --driver-mode=flang -### -E /Users/thakis/src/llvm-project/clang/test/Driver/flang/flang.f90
  clang version 10.0.0 
  Target: x86_64-apple-darwin18.7.0
  Thread model: posix
  InstalledDir: /Users/thakis/src/llvm-project/out/gn/bin
  clang: warning: /Users/thakis/src/llvm-project/clang/test/Driver/flang/flang.f90: previously preprocessed input [-Wunused-command-line-argument]


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63607/new/

https://reviews.llvm.org/D63607





More information about the cfe-commits mailing list