[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
Steelskin wrote: > Ack. My apt package doesn't install `libxml2-config-version.cmake` so I > assume CMake is falling back on some standard logic for finding it and that > would explain why CMake is happy to use 2.12 on my system. > > That said, it seems like this is done intentionally, and thi

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
@@ -51,13 +51,18 @@ macro(add_optional_dependency variable description package found) message(STATUS "${description}: ${${variable}}") endmacro() +set(LLDB_LIBXML2_VERSION "2.8" CACHE STRING + "Sepcify the version of libxml 2 to use with LLDB. This is only meant to be ove

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
https://github.com/Steelskin updated https://github.com/llvm/llvm-project/pull/142183 >From c517ba1aa6c17de47c125468c047366117a9989a Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Fri, 30 May 2025 09:27:54 -0700 Subject: [PATCH 1/4] [lldb] Add build option to specify the libxml 2 version

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
https://github.com/Steelskin updated https://github.com/llvm/llvm-project/pull/142183 >From c517ba1aa6c17de47c125468c047366117a9989a Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Fri, 30 May 2025 09:27:54 -0700 Subject: [PATCH 1/3] [lldb] Add build option to specify the libxml 2 version

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
Steelskin wrote: This is how the version file is configured in libxml2: https://github.com/GNOME/libxml2/blob/0740a367a570c40246fe8077c2d172b63693f105/CMakeLists.txt#L596 ```cmake write_basic_package_version_file( ${CMAKE_CURRENT_BINARY_DIR}/libxml2-config-version.cmake VERSION $

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
https://github.com/Steelskin updated https://github.com/llvm/llvm-project/pull/142183 >From c517ba1aa6c17de47c125468c047366117a9989a Mon Sep 17 00:00:00 2001 From: Fabrice de Gans Date: Fri, 30 May 2025 09:27:54 -0700 Subject: [PATCH 1/2] [lldb] Add build option to specify the libxml 2 version

[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml 2 version (PR #142183)

2025-05-30 Thread Fabrice de Gans via lldb-commits
https://github.com/Steelskin created https://github.com/llvm/llvm-project/pull/142183 The Swift Windows toolchain uses its own static build of libxml 2, which is more recent than 2.8, resulting in the provided libxml 2 to be rejected. This change allows to specify a custom version for libxml 2