Tools
llama.cpp adds an API/ABI compatibility checker script the same day it bumps to version 0.4.1
PR #28579, merged 2026-09-14, adds scripts/check-apiabi-compat.sh, which exits 0 if a second build is backwards compatible with a first and 1 if it is not, in which case the project major version and the library SOVER must be bumped. It uses abi-compliance-checker for source-level API compatibility of the public headers, catching things like a removed enum value that would break compilation, and abigail-tools for shared-library ABI, catching a removed symbol that would break runtime dynamic linking. References live in ci/apiabi-refs and are refreshed after a release; the author notes it should eventually run as a release-workflow check but how is still undecided.
Source
↳ Follow the thread