[flang][driver] Delete `f18` (i.e. the old Flang driver)
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Mon, 12 Jul 2021 08:44:38 +0000 (08:44 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Thu, 5 Aug 2021 12:57:15 +0000 (12:57 +0000)
commit7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f
tree58beb9d436ffeec315fbf348429be8db022653cf
parent7217b01481566092c440f249d65a10efee8c50ad
[flang][driver] Delete `f18` (i.e. the old Flang driver)

This patch removes `f18`, a.k.a. the old driver. It is being replaced
with the new driver, `flang-new`, which has reached feature parity with
`f18` a while ago. This was discussed in [1] and also in [2].

With this change, `FLANG_BUILD_NEW_DRIVER` is no longer needed and is
also deleted. This means that we are making the dependency on Clang permanent
(i.e. it cannot be disabled with a CMake flag).

LIT set-up is updated accordingly. All references to `f18` or `f18.cpp`
are either updated or removed.

The `F18_FC` variable from the `flang` bash script is replaced with
`FLANG_FC`. The former is still supported for backwards compatibility.

[1] https://lists.llvm.org/pipermail/flang-dev/2021-June/000742.html
[2] https://reviews.llvm.org/D103177

Differential Revision: https://reviews.llvm.org/D105811
17 files changed:
flang/CMakeLists.txt
flang/docs/ImplementingASemanticCheck.md
flang/docs/Overview.md
flang/include/flang/Frontend/CompilerInvocation.h
flang/include/flang/Frontend/FrontendOptions.h
flang/lib/CMakeLists.txt
flang/lib/Frontend/CompilerInvocation.cpp
flang/test/CMakeLists.txt
flang/test/Driver/help-f18.f90 [deleted file]
flang/test/lit.cfg.py
flang/test/lit.site.cfg.py.in
flang/tools/CMakeLists.txt
flang/tools/f18/CMakeLists.txt
flang/tools/f18/f18.cpp [deleted file]
flang/tools/f18/flang [moved from flang/tools/f18/flang.in with 94% similarity]
flang/unittests/CMakeLists.txt
llvm/CMakeLists.txt