[Lldb-commits] [lldb] [lldb] Add build option to specify the libxml	2 version (PR #142183)
    Fabrice de Gans via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Fri May 30 10:43:37 PDT 2025
    
    
  
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 ${PROJECT_VERSION}
	COMPATIBILITY ExactVersion
)
```
The problem is the `COMPATIBILITY ExactVersion` part. I have been told there are also ABI incompatibilities with different libxml 2 versions for the Swift build but I am not familiar with the details.
https://github.com/llvm/llvm-project/pull/142183
    
    
More information about the lldb-commits
mailing list