[all-commits] [llvm/llvm-project] 38e745: [flang] Make the `flang` wrapper script check the ...
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Wed Jan 12 01:42:34 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 38e745b006238bee87476c3747b3e7229a8bc5c2
https://github.com/llvm/llvm-project/commit/38e745b006238bee87476c3747b3e7229a8bc5c2
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-01-12 (Wed, 12 Jan 2022)
Changed paths:
M flang/tools/f18/flang
Log Message:
-----------
[flang] Make the `flang` wrapper script check the Bash version
The `flang` wrapper script has been written in a relatively modern
version of Bash and it fails on systems with older versions. This patch
makes the script check the version of Bash being used to run it and
generates an error when unsupported version is used.
This was discussed in more detail in:
* https://github.com/flang-compiler/f18-llvm-project/issues/1344.
Many thanks to Anthony Cabrera for the suggestion and for identifying
the oldest version of Bash that we can use here.
Differential Revision: https://reviews.llvm.org/D116608
More information about the All-commits
mailing list