[all-commits] [llvm/llvm-project] 7b73ca: [flang][driver] Delete `f18` (i.e. the old Flang d...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Aug 5 05:59:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f
      https://github.com/llvm/llvm-project/commit/7b73ca3043fecfc5fa6bbf5b28edfee61a83ff9f
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-08-05 (Thu, 05 Aug 2021)

  Changed paths:
    M flang/CMakeLists.txt
    M flang/docs/ImplementingASemanticCheck.md
    M flang/docs/Overview.md
    M flang/include/flang/Frontend/CompilerInvocation.h
    M flang/include/flang/Frontend/FrontendOptions.h
    M flang/lib/CMakeLists.txt
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/test/CMakeLists.txt
    R flang/test/Driver/help-f18.f90
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in
    M flang/tools/CMakeLists.txt
    M flang/tools/f18/CMakeLists.txt
    R flang/tools/f18/f18.cpp
    A flang/tools/f18/flang
    R flang/tools/f18/flang.in
    M flang/unittests/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [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




More information about the All-commits mailing list