[PATCH] D40258: [CMake] Support side-by-side checkouts in multi-stage build

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 20 09:04:08 PST 2017


phosek created this revision.
Herald added a subscriber: mgorny.

Passthrough LLVM_ENABLE_{PROJECTS,RUNTIMES} to followup stages to
support the side-by-side checkouts (aka monorepo layout).


Repository:
  rL LLVM

https://reviews.llvm.org/D40258

Files:
  CMakeLists.txt


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -603,7 +603,9 @@
     LLVM_BINUTILS_INCDIR
     CLANG_REPOSITORY_STRING
     CMAKE_MAKE_PROGRAM
-    CMAKE_OSX_ARCHITECTURES)
+    CMAKE_OSX_ARCHITECTURES
+    LLVM_ENABLE_PROJECTS
+    LLVM_ENABLE_RUNTIMES)
 
   # We don't need to depend on compiler-rt if we're building instrumented
   # because the next stage will use the same compiler used to build this stage.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40258.123606.patch
Type: text/x-patch
Size: 497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171120/e3b500a6/attachment.bin>


More information about the cfe-commits mailing list