[PATCH] D145818: [Fuchsia] Add LLDB to CLANG_BOOTSTRAP_TARGETS.
Daniel Thornburgh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 10 11:26:50 PST 2023
mysterymath created this revision.
mysterymath added a reviewer: phosek.
Herald added a subscriber: abrachet.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
stage2-check-lldb should be run in a 2-stage build to test the final
LLDB artifact, so it and related targets must be exported to the stage 1
project.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145818
Files:
clang/cmake/caches/Fuchsia.cmake
Index: clang/cmake/caches/Fuchsia.cmake
===================================================================
--- clang/cmake/caches/Fuchsia.cmake
+++ clang/cmake/caches/Fuchsia.cmake
@@ -144,7 +144,7 @@
set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_TARGETS
+set(_FUCHSIA_BOOTSTRAP_TARGETS
check-all
check-clang
check-lld
@@ -160,13 +160,15 @@
install-distribution
install-distribution-stripped
install-distribution-toolchain
- clang CACHE STRING "")
+ clang)
set(FUCHSIA_ENABLE_LLDB OFF CACHE BOOL "Enable LLDB")
if(FUCHSIA_ENABLE_LLDB)
list(APPEND _FUCHSIA_ENABLE_PROJECTS lldb)
+ list(APPEND _FUCHSIA_BOOTSTRAP_TARGETS check-lldb lldb-test-depends)
endif()
set(LLVM_ENABLE_PROJECTS ${_FUCHSIA_ENABLE_PROJECTS} CACHE STRING "")
+set(CLANG_BOOTSTRAP_TARGETS ${_FUCHSIA_BOOTSTRAP_TARGETS} CACHE STRING "")
get_cmake_property(variableNames VARIABLES)
foreach(variableName ${variableNames})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145818.504228.patch
Type: text/x-patch
Size: 996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230310/7a0386a7/attachment.bin>
More information about the cfe-commits
mailing list