[PATCH] D103177: [flang][driver] Extend the `flang` bash script to act as a driver

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 3 10:24:50 PDT 2021


awarzynski updated this revision to Diff 349601.
awarzynski added a comment.
Herald added a subscriber: mgorny.

Switch between `flang-new` and `f18`, depending on the value of `FLANG_BUILD_NEW_DRIVER`

With this latest update, `flang` will use `flang-new` when the new driver is enabled. As previously, I tested this with SPEC 2017 (as well as some trivial examples) and it worked fine for me.

Some extra changes in `flang-new` were required. I extracted them into seperate patches: D103612 <https://reviews.llvm.org/D103612>, D103613 <https://reviews.llvm.org/D103613>.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103177

Files:
  flang/lib/Frontend/FrontendActions.cpp
  flang/tools/f18/CMakeLists.txt
  flang/tools/f18/f18.cpp
  flang/tools/f18/flang
  flang/tools/f18/flang.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103177.349601.patch
Type: text/x-patch
Size: 14433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210603/21a5d38a/attachment.bin>


More information about the llvm-commits mailing list