Skip to content

Commit c0efc4c

Browse files
committed
redo without external build
1 parent 4f0eee3 commit c0efc4c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

clang/cmake/caches/Release.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ set_final_stage_var(CPACK_GENERATOR "TXZ" STRING)
171171
set_final_stage_var(CPACK_ARCHIVE_THREADS "0" STRING)
172172

173173
set_final_stage_var(LLVM_USE_STATIC_ZSTD "ON" BOOL)
174+
set_final_stage_var(LLVM_USE_STATIC_LIBXML2 "ON" BOOL)
174175
if (LLVM_RELEASE_ENABLE_LTO)
175176
set_final_stage_var(LLVM_ENABLE_FATLTO "ON" BOOL)
176177
set_final_stage_var(CPACK_PRE_BUILD_SCRIPTS "${CMAKE_CURRENT_LIST_DIR}/release_cpack_pre_build_strip_lto.cmake" STRING)

llvm/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,8 @@ set(LLVM_TARGET_ARCH "host"
605605

606606
set(LLVM_ENABLE_LIBXML2 "ON" CACHE STRING "Use libxml2 if available. Can be ON, OFF, or FORCE_ON")
607607

608+
set(LLVM_USE_STATIC_LIBXML2 "OFF" CACHE BOOL "Use static version of libxml2. Can be ON, or OFF")
609+
608610
option(LLVM_ENABLE_LIBEDIT "Use libedit if available." ON)
609611

610612
option(LLVM_ENABLE_LIBPFM "Use libpfm for performance counters if available." ON)

0 commit comments

Comments
 (0)