[all-commits] [llvm/llvm-project] 04adfb: [flang][cmake] Enable the new driver by default

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue May 11 02:18:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04adfb660987072ad31756e0d04803f96c3c39f7
      https://github.com/llvm/llvm-project/commit/04adfb660987072ad31756e0d04803f96c3c39f7
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-05-11 (Tue, 11 May 2021)

  Changed paths:
    M flang/CMakeLists.txt
    M flang/README.md
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [flang][cmake] Enable the new driver by default

With this patch, `FLANG_BUILD_NEW_DRIVER` is set to `On` by default
(i.e. the new driver is enabled). Note that the new driver depends on
Clang and hence with this change you will need to add `clang` to
`LLVM_ENABLE_PROJECTS`.

If you don't want to build the new driver, set `FLANG_BUILD_NEW_DRIVER`
to `Off`. This way you won't be required to include `clang` in
`LLVM_ENABLE_PROJECTS`.

Differential Revision: https://reviews.llvm.org/D101842




More information about the All-commits mailing list