Repository navigation
Give the shared libraries a version and a MAJOR.MINOR SOVERSION - #28
Merged
Merged
Conversation
ivpico_interface, ivpico_helm and the MOOS gateway plugin installed as unversioned libivpico_*.so. The project is now 0.1.0, and each library gets VERSION 0.1.0 and SOVERSION 0.1 (libivpico_helm.so.0.1), so each minor release, which may break the ABI, gets its own SONAME and can be packaged as libivpico0.1. scripts/abi_check.sh (libabigail) fails any tree that breaks the ABI of the latest vX.Y.Z release of its series, and CI runs it. Closes #27. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TCmHEro85Hdkmg3cmF34B9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #27. Follows GobySoft/dccl#220 and the matching Goby (GobySoft/goby3#523) and netsim (GobySoft/netsim#20) changes.
ivpico_interface,ivpico_helmandivpico_moos_gateway_plugininstalled as unversionedlibivpico_*.so.Changes
project(ivpico VERSION 0.1.0 LANGUAGES CXX). Each library getsVERSION 0.1.0andSOVERSION 0.1(MAJOR.MINOR), so each 0.y release gets its own SONAME and can be packaged aslibivpico0.1. The MOOS gateway plugin gets one too, as Goby's own plugins do.scripts/abi_check.shandscripts/abi.supp: compare the tree against the latestvX.Y.Zrelease of its series and fail on anything but additions. The newabi-checkCI job runs it. There are no tags yet, so for now it reports that there is nothing to compare against.Packaging (openocean-build)
The libraries now install as
.so.0.1.0, with a.so.0.1SONAME link and a.sodevelopment link. If openocean-build splits the currentivpicopackage intolibivpico0.1andlibivpico-dev(#10), the.solinks move fromivpicotolibivpico-dev. That package then needsBreaks/Replaces: ivpico (<< …), or the upgrade fails with a file conflict.Tested
build.shagainst Goby from the goby3 branch: SONAMEslibivpico_{helm,interface,moos_gateway_plugin}.so.0.1, andgoby_helm_ivpresolves them.ctest: 61/61 passed.scripts/abi_check.shreports that there is no 0.1 release yet.https://claude.ai/code/session_01TCmHEro85Hdkmg3cmF34B9
Generated by Claude Code