Author: cbieneman Date: Mon May 20 11:10:20 2019 New Revision: 361184 URL: http://llvm.org/viewvc/llvm-project?rev=361184&view=rev Log: [CMake] Update DistributionExample for mono repo
This just updates the DistributionExamples from my 2016 Dev Meeting talk to work more seamlessly with the monorepo. Modified: cfe/trunk/cmake/caches/DistributionExample-stage2.cmake cfe/trunk/cmake/caches/DistributionExample.cmake Modified: cfe/trunk/cmake/caches/DistributionExample-stage2.cmake URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/DistributionExample-stage2.cmake?rev=361184&r1=361183&r2=361184&view=diff ============================================================================== --- cfe/trunk/cmake/caches/DistributionExample-stage2.cmake (original) +++ cfe/trunk/cmake/caches/DistributionExample-stage2.cmake Mon May 20 11:10:20 2019 @@ -1,6 +1,9 @@ # This file sets up a CMakeCache for the second stage of a simple distribution # bootstrap build. +set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "") +set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx" CACHE STRING "") + set(LLVM_TARGETS_TO_BUILD X86;ARM;AArch64 CACHE STRING "") set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "") Modified: cfe/trunk/cmake/caches/DistributionExample.cmake URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/cmake/caches/DistributionExample.cmake?rev=361184&r1=361183&r2=361184&view=diff ============================================================================== --- cfe/trunk/cmake/caches/DistributionExample.cmake (original) +++ cfe/trunk/cmake/caches/DistributionExample.cmake Mon May 20 11:10:20 2019 @@ -1,5 +1,9 @@ # This file sets up a CMakeCache for a simple distribution bootstrap build. +#Enable LLVM projects and runtimes +set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "") +set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx" CACHE STRING "") + # Only build the native target in stage1 since it is a throwaway build. set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "") _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits