r284443 - [CMake] Add a few default passthrough variables for bootstrap builds

Chris Bieneman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 17 17:50:21 PDT 2016


Author: cbieneman
Date: Mon Oct 17 19:50:20 2016
New Revision: 284443

URL: http://llvm.org/viewvc/llvm-project?rev=284443&view=rev
Log:
[CMake] Add a few default passthrough variables for bootstrap builds

This just passes through a few missing CMake variables for multi-stage builds.

Modified:
    cfe/trunk/CMakeLists.txt

Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=284443&r1=284442&r2=284443&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Mon Oct 17 19:50:20 2016
@@ -546,6 +546,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
 
   set(_BOOTSTRAP_DEFAULT_PASSTHROUGH
     PACKAGE_VERSION
+    PACKAGE_VENDOR
     LLVM_VERSION_MAJOR
     LLVM_VERSION_MINOR
     LLVM_VERSION_PATCH
@@ -555,7 +556,8 @@ if (CLANG_ENABLE_BOOTSTRAP)
     LLVM_VERSION_SUFFIX
     LLVM_BINUTILS_INCDIR
     CLANG_REPOSITORY_STRING
-    CMAKE_MAKE_PROGRAM)
+    CMAKE_MAKE_PROGRAM
+    CMAKE_OSX_ARCHITECTURES)
 
   if(TARGET compiler-rt)
     set(RUNTIME_DEP compiler-rt)




More information about the cfe-commits mailing list