[clang] 2998a55 - [Fuchsia] Add LLDB to CLANG_BOOTSTRAP_TARGETS.
Daniel Thornburgh via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 10 11:35:38 PST 2023
Author: Daniel Thornburgh
Date: 2023-03-10T11:35:32-08:00
New Revision: 2998a5551e29e8340cbdf9fcb3680cc2dedeb208
URL: https://github.com/llvm/llvm-project/commit/2998a5551e29e8340cbdf9fcb3680cc2dedeb208
DIFF: https://github.com/llvm/llvm-project/commit/2998a5551e29e8340cbdf9fcb3680cc2dedeb208.diff
LOG: [Fuchsia] Add LLDB to CLANG_BOOTSTRAP_TARGETS.
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.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D145818
Added:
Modified:
clang/cmake/caches/Fuchsia.cmake
Removed:
################################################################################
diff --git a/clang/cmake/caches/Fuchsia.cmake b/clang/cmake/caches/Fuchsia.cmake
index cf63153da89c0..03b96dde7fe86 100644
--- a/clang/cmake/caches/Fuchsia.cmake
+++ b/clang/cmake/caches/Fuchsia.cmake
@@ -144,7 +144,7 @@ endif()
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 @@ set(CLANG_BOOTSTRAP_TARGETS
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})
More information about the cfe-commits
mailing list