[PATCH] D102323: [flang][cmake] Set the default for FLANG_BUILD_NEW_DRIVER for oot builds

Andrzej Warzynski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 13:11:20 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG97a71ae62591: [flang][cmake] Set the default for FLANG_BUILD_NEW_DRIVER for oot builds (authored by awarzynski).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102323/new/

https://reviews.llvm.org/D102323

Files:
  flang/CMakeLists.txt


Index: flang/CMakeLists.txt
===================================================================
--- flang/CMakeLists.txt
+++ flang/CMakeLists.txt
@@ -26,6 +26,11 @@
   project(Flang)
   set(FLANG_STANDALONE_BUILD ON)
 
+  # For in-tree builds, this variable is inherited from
+  # llvm-project/llvm/CMakeLists.txt. For out-of-tree builds, we need a
+  # separate definition.
+  option(FLANG_BUILD_NEW_DRIVER "Build the flang compiler driver" ON)
+
   set(FLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
   if (NOT MSVC_IDE)
     set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102323.347482.patch
Type: text/x-patch
Size: 575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/f1f66441/attachment.bin>


More information about the llvm-commits mailing list