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

Peter Klausler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 10 09:01:08 PDT 2021


klausler added a comment.

In D103177#2810230 <https://reviews.llvm.org/D103177#2810230>, @awarzynski wrote:

> In D103177#2799429 <https://reviews.llvm.org/D103177#2799429>, @klausler wrote:
>
>> I'd like to avoid the clang dependence for what I'm doing, if I can.
>
> Do you require full driver support for what you do? Perhaps we could extract a smaller tool from `f18` that would meet your needs and be independent of Clang? For now I'm just thinking out loud, but this might be an option.
>
> We discussed `f18` in the call yesterday and agreed to remove it in the near future. I've summarized it here: https://lists.llvm.org/pipermail/flang-dev/2021-June/000742.html. We will have this patch merged first and then wait for at least 2 weeks. Please let me know if you need more time or discover something that this would break for you.

I don't know what "smaller tools" you could extract from  the f18 tool that would be useful, but thanks for the offer.  The current f18 is still a good fit for my own needs (as one would expect) and I'd keep it in my tree if you delete it from yours.

The source for the f18 and f18-parse-demo tools might be useful to hypothetical future tool-writers as a minimal example of what one needs to do to drive the parser and later phases in a stand-alone environment for purposes other than Fortran compilation (e.g., pretty-printing, source-to-source transformations, program analysis); is your community still interested in such things?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103177



More information about the llvm-commits mailing list