]> granicus.if.org Git - llvm/commit
[cmake] Update SOVERSION for the new versioning scheme
authorMichal Gorny <mgorny@gentoo.org>
Tue, 17 Jan 2017 21:04:19 +0000 (21:04 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Tue, 17 Jan 2017 21:04:19 +0000 (21:04 +0000)
commite3aa75949b5b83f1ce060ad84abeb1e1968b60eb
treed7b3054a7b72ee2193b6adfb408983ea34ca9844
parentcaab3a817f1760d5766a7e33e0f1d4900be99978
[cmake] Update SOVERSION for the new versioning scheme

Update SOVERSION to use just the major version number rather than
major+minor, to match the new versioning scheme where only major is used
to indicate API/ABI version.

Since two-digit SOVERSIONs were introduced post 3.9 branching, this
change does not risk any SOVERSION collisions. In the past,
two-component X.Y SOVERSIONs were shortly used but those will not
interfere with the new ones since the new versions start at 4.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292255 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddLLVM.cmake