https://github.com/PiJoules created https://github.com/llvm/llvm-project/pull/217771
Otherwise this will fail on the cmake invocation because the target expects some libxml2 headers. >From fb968ef7dfd05ed407022b93347b6fa41569de17 Mon Sep 17 00:00:00 2001 From: Leonard Chan <[email protected]> Date: Thu, 20 Aug 2026 21:51:20 +0000 Subject: [PATCH] [clang] Gate llvm-mt on if libxml2 is provided Otherwise this will fail on the cmake invocation because the target expects some libxml2 headers. --- clang/cmake/caches/Fuchsia-stage2.cmake | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clang/cmake/caches/Fuchsia-stage2.cmake b/clang/cmake/caches/Fuchsia-stage2.cmake index 8bbc5cad84ab6..88685b4499468 100644 --- a/clang/cmake/caches/Fuchsia-stage2.cmake +++ b/clang/cmake/caches/Fuchsia-stage2.cmake @@ -485,7 +485,6 @@ set(LLVM_TOOLCHAIN_TOOLS llvm-libtool-darwin llvm-lipo llvm-ml - llvm-mt llvm-nm llvm-objcopy llvm-objdump @@ -508,6 +507,10 @@ set(LLVM_TOOLCHAIN_TOOLS scan-build-py CACHE STRING "") +if(LLVM_ENABLE_LIBXML2) + list(APPEND LLVM_TOOLCHAIN_TOOLS llvm-mt) +endif() + set(LLVM_Toolchain_DISTRIBUTION_COMPONENTS bolt clang _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
