Go to file
Michal Gorny 6b929d5ba9 [cmake] Reintroduce (ldconfig-compatible) SOVERSIONs on shared libraries
Reintroduce versioning of shared libraries via SOVERSION, addressing
the issues with the previous design, since Gentoo is relying
on shared-split install of LLVM. The SOVERSIONs were originally
introduced in r229720 for all libraries, and removed in r252093 in favor
of custom SONAME. As far as I understand, the major concern with the old
versioning was that the used versions were incompatible with ldconfig.

Having considered that, this commit introduce SOVERSIONS with the
following considerations:

1. SOVERSIONs are formed of major & minor version concatenated -- i.e.
for 4.0 its .so.40. This matches the common practice where the first
version number indicates ABI breakage, and therefore fixes the issues
with ldconfig. Additionally, VERSION with the remaining verion
components appended is used, however this is not strictly necessary.

2. The versioning is only applied to libraries with no explicit SONAME
specified -- i.e. it won't apply to libLLVM but only to the split
libraries. It will also apply to libraries installed by the subprojects.

3. The versioning is only done on *nix systems, Darwin excluded. This
matches the current use of SONAME.

Differential Revision: https://reviews.llvm.org/D24757

llvm-svn: 283189
2016-10-04 06:09:18 +00:00
clang Revert "[analyzer] Improve CloneChecker diagnostics" as its depends on reverted r283092 2016-10-04 02:40:35 +00:00
clang-tools-extra [clang-rename] Overhaul clang-rename.el. 2016-10-02 14:51:33 +00:00
compiler-rt [sanitizer-coverage] remove stale code, second attempt after failed r282994 2016-10-04 04:18:30 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Mark a couple more Issaquah issues as done: 2578 and 2738 2016-10-03 23:42:31 +00:00
libcxxabi [CMake] Fix libc++abi standalone cmake build. 2016-10-03 11:08:17 +00:00
libunwind libunwind: Add OpenBSD case for _Unwind_Ptr typedef 2016-09-28 15:37:21 +00:00
lld Remove unused parameter. 2016-10-04 01:03:03 +00:00
lldb Finish adding the individual instruction tests to the x86 unwinder 2016-10-04 05:10:06 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [cmake] Reintroduce (ldconfig-compatible) SOVERSIONs on shared libraries 2016-10-04 06:09:18 +00:00
openmp [cmake] Fix for a bug https://llvm.org/bugs/show_bug.cgi?id=30489 "Cannot build with -DLIBOMP_FORTRAN_MODULES=True" 2016-09-30 22:05:45 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly isl: update to isl-0.17.1-233-gc911e6a 2016-10-01 19:46:51 +00:00