llvm-project/flang/tools
Andrzej Warzynski 38e745b006 [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
2022-01-12 09:37:35 +00:00
..
bbc [flang] Add clang-format files for FIR source (LLVM style) 2020-02-17 02:37:49 -08:00
f18 [flang] Make the `flang` wrapper script check the Bash version 2022-01-12 09:37:35 +00:00
f18-parse-demo [flang] Produce proper "preprocessor output" for -E option 2021-07-30 15:13:56 -07:00
fir-opt [fir] Clean up InitFIR.h 2021-10-11 15:41:50 +02:00
flang-driver [flang] Use `GNUInstallDirs` to support custom installation dirs. 2021-12-31 18:58:35 +00:00
tco [fir] Split FIROptimizer lib into several smaller libraries 2021-10-05 14:02:32 +02:00
.clang-tidy [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
CMakeLists.txt [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00