[flang] Rename `flang` as `flang-to-external-fc`
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 17 May 2022 19:36:27 +0000 (19:36 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 31 May 2022 18:37:50 +0000 (18:37 +0000)
commit4b763c4ef83501e7884eae062d449e8185839da0
tree25bbc0ce38194e5facc1fcb15e2b00ab8734d466
parent15d5db276c9ba0add984d07696f11a33079f42bc
[flang] Rename `flang` as `flang-to-external-fc`

Our ultimate goal is to rename `flang-new` as `flang`. This is "Step 1"
in which we only rename the bash wrapper script, `flang`, as
`flang-to-external-fc`. The new name more accurately reflects what the
wrapper script does.

With this patch, `flang` becomes a symbolic link pointing to
`flang-to-external-fc`. This allows a smooth transmission for any
buildbots that use this script. Once the buildbots are reconfigured to
use the updated name, CMake rule for the symbolic link will be removed.

For more context see:
  * https://discourse.llvm.org/t/rename-flang-new-as-flang,
  * https://reviews.llvm.org/D125788.

Differential Revision: https://reviews.llvm.org/D125832
flang/tools/f18/CMakeLists.txt
flang/tools/f18/flang-to-external-fc [moved from flang/tools/f18/flang with 100% similarity]