This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Update SOVERSION for the new versioning scheme
ClosedPublic

Authored by mgorny on Jan 14 2017, 6:40 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny updated this revision to Diff 84449.Jan 14 2017, 6:40 AM
mgorny retitled this revision from to [cmake] Update SOVERSION for the new versioning scheme.
mgorny updated this object.
mgorny added reviewers: beanz, hans.
mgorny added a subscriber: llvm-commits.
beanz accepted this revision.Jan 17 2017, 10:09 AM

LGTM.

This revision is now accepted and ready to land.Jan 17 2017, 10:09 AM
This revision was automatically updated to reflect the committed changes.

@hans, could this be backported to 4.0 branch, please?