[flang][cmake] Enable the new driver by default
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 4 May 2021 15:52:15 +0000 (15:52 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 11 May 2021 09:16:29 +0000 (09:16 +0000)
commit04adfb660987072ad31756e0d04803f96c3c39f7
tree3417dd2c51819e91a7d19f19350b4d6084599f58
parent05d1ae4e18fa565ea522e02d2497ec68d1dbdd80
[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
flang/CMakeLists.txt
flang/README.md
llvm/CMakeLists.txt