Skip to content

Give the shared libraries a version and a MAJOR.MINOR SOVERSION - #28

Merged
tsaubergine merged 1 commit into
mainfrom
claude/dreamy-fermat-89tpde
Dec 2, 2026
Merged

tsaubergine merged 1 commit into
mainfrom
claude/dreamy-fermat-89tpde

Conversation

@tsaubergine

@tsaubergine tsaubergine commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Closes #27. Follows GobySoft/dccl#220 and the matching Goby (GobySoft/goby3#523) and netsim (GobySoft/netsim#20) changes.

ivpico_interface, ivpico_helm and ivpico_moos_gateway_plugin installed as unversioned libivpico_*.so.

Changes

  • project(ivpico VERSION 0.1.0 LANGUAGES CXX). Each library gets VERSION 0.1.0 and SOVERSION 0.1 (MAJOR.MINOR), so each 0.y release gets its own SONAME and can be packaged as libivpico0.1. The MOOS gateway plugin gets one too, as Goby's own plugins do.
  • scripts/abi_check.sh and scripts/abi.supp: compare the tree against the latest vX.Y.Z release of its series and fail on anything but additions. The new abi-check CI job runs it. There are no tags yet, so for now it reports that there is nothing to compare against.
  • A short README section on versioning.

Packaging (openocean-build)

The libraries now install as .so.0.1.0, with a .so.0.1 SONAME link and a .so development link. If openocean-build splits the current ivpico package into libivpico0.1 and libivpico-dev (#10), the .so links move from ivpico to libivpico-dev. That package then needs Breaks/Replaces: ivpico (<< …), or the upgrade fails with a file conflict.

Tested

  • build.sh against Goby from the goby3 branch: SONAMEs libivpico_{helm,interface,moos_gateway_plugin}.so.0.1, and goby_helm_ivp resolves them. ctest: 61/61 passed.
  • scripts/abi_check.sh reports that there is no 0.1 release yet.

https://claude.ai/code/session_01TCmHEro85Hdkmg3cmF34B9


Generated by Claude Code

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
@tsaubergine
tsaubergine merged commit a78305c into main Dec 2, 2026
9 of 10 checks passed
@tsaubergine
tsaubergine deleted the claude/dreamy-fermat-89tpde branch December 2, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Give the shared libraries a SOVERSION

2 participants