ldionne created this revision. ldionne added a reviewer: fhahn. Herald added a subscriber: mgorny. Herald added a project: All. ldionne requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
We build libcxx using LLVM_ENABLE_RUNTIMES during Stage2, which requires cxx-headers to be part of LLVM_RUNTIME_DISTRIBUTION_COMPONENTS instead of LLVM_DISTRIBUTION_COMPONENTS. rdar://99028431 Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D132488 Files: clang/cmake/caches/Apple-stage2.cmake Index: clang/cmake/caches/Apple-stage2.cmake =================================================================== --- clang/cmake/caches/Apple-stage2.cmake +++ clang/cmake/caches/Apple-stage2.cmake @@ -1,7 +1,7 @@ # This file sets up a CMakeCache for Apple-style stage2 bootstrap. It is # specified by the stage1 build. -set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "") +set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "") set(PACKAGE_VENDOR Apple CACHE STRING "") set(CLANG_VENDOR_UTI com.apple.clang CACHE STRING "") set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "") @@ -74,12 +74,15 @@ LTO clang-format clang-resource-headers - cxx-headers Remarks ${LLVM_TOOLCHAIN_TOOLS} ${LLVM_TOOLCHAIN_UTILITIES} CACHE STRING "") +set(LLVM_RUNTIME_DISTRIBUTION_COMPONENTS + cxx-headers + CACHE STRING "") + # test args set(LLVM_LIT_ARGS "--xunit-xml-output=testresults.xunit.xml -v" CACHE STRING "")
Index: clang/cmake/caches/Apple-stage2.cmake =================================================================== --- clang/cmake/caches/Apple-stage2.cmake +++ clang/cmake/caches/Apple-stage2.cmake @@ -1,7 +1,7 @@ # This file sets up a CMakeCache for Apple-style stage2 bootstrap. It is # specified by the stage1 build. -set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "") +set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "") set(PACKAGE_VENDOR Apple CACHE STRING "") set(CLANG_VENDOR_UTI com.apple.clang CACHE STRING "") set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "") @@ -74,12 +74,15 @@ LTO clang-format clang-resource-headers - cxx-headers Remarks ${LLVM_TOOLCHAIN_TOOLS} ${LLVM_TOOLCHAIN_UTILITIES} CACHE STRING "") +set(LLVM_RUNTIME_DISTRIBUTION_COMPONENTS + cxx-headers + CACHE STRING "") + # test args set(LLVM_LIT_ARGS "--xunit-xml-output=testresults.xunit.xml -v" CACHE STRING "")
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits