[all-commits] [llvm/llvm-project] 45e521: [flang][driver] Add support for `--version` in the...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Sat Jul 3 02:49:42 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 45e5214b4354d4f9150fcc1ea1997280f709b3dc
https://github.com/llvm/llvm-project/commit/45e5214b4354d4f9150fcc1ea1997280f709b3dc
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2021-07-03 (Sat, 03 Jul 2021)
Changed paths:
M flang/tools/f18/flang.in
Log Message:
-----------
[flang][driver] Add support for `--version` in the bash wrapper
The bash wrapper script, `flang`, calls `flang-new -fc1` under the hood,
which does not support `--version` (this is consistent with `clang -cc1
--version`). This change is needed for `flang --version` to work as
expected.
Note that `flang --version` (the Flang bash wrapper script for the
compiler driver) gives rather minimal output compared to `flang-new
--version` (the Flang compiler driver). As the wrapper script is just a
temporary solution for us, this should be sufficient.
Differential Revision: https://reviews.llvm.org/D105352
More information about the All-commits
mailing list