[all-commits] [llvm/llvm-project] d3ce13: [clang] Do not override libclang.so's SOVERSION if...
Michał Górny via All-commits
all-commits at lists.llvm.org
Tue Oct 11 22:14:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d3ce1339264dff3ea5571e9d5cf53d41e49a0879
https://github.com/llvm/llvm-project/commit/d3ce1339264dff3ea5571e9d5cf53d41e49a0879
Author: Michał Górny <mgorny at gentoo.org>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M clang/tools/libclang/CMakeLists.txt
Log Message:
-----------
[clang] Do not override libclang.so's SOVERSION if CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION
Instead of setting libclang.so's SOVERSION to CLANG_MAJOR_VERSION
when CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION is enabled, do not override
it and let LLVM set the correct SOVERSION. This fixes libclang.so
missing LLVM_VERSION_SUFFIX, and harmonizes the SOVERSION with other
shared libraries.
Differential Revision: https://reviews.llvm.org/D135701
Commit: 56f94ede2af9a327e59fe84dbf8cbbb7bb1dfa79
https://github.com/llvm/llvm-project/commit/56f94ede2af9a327e59fe84dbf8cbbb7bb1dfa79
Author: Michał Górny <mgorny at gentoo.org>
Date: 2022-10-12 (Wed, 12 Oct 2022)
Changed paths:
M llvm/cmake/modules/Findzstd.cmake
Log Message:
-----------
[llvm] [cmake] Support finding both static and shared zstd via FindZstd
Improve the logic in FindZstd to support finding both shared and static
variants of the zstd library simultaneously. Otherwise, if the shared
library is installed, zstd::libzstd_static is not declared at all
and CMake fails if LLVM_USE_STATIC_ZSTD is used.
Differential Revision: https://reviews.llvm.org/D135457
Compare: https://github.com/llvm/llvm-project/compare/ec1a419143bd...56f94ede2af9
More information about the All-commits
mailing list