You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
committed
fix(build): Support CMake v4+ and GCC 15 toolchains, and upgrade C++ dependencies (fixes#795).
CMake v4 removed compatibility with `cmake_minimum_required` below v3.5, breaking yaml-cpp,
libarchive, and the googletest that ANTLR's test build fetches. CLP previously capped this by
pinning CMake below v4, which has since become actively harmful: the install script fails outright
wherever CMake v4+ is the system package, since it only installs the pinned version when no `cmake`
is already present. All three blockers are fixed here and the pin is retired, closing #795, which
was reported in April 2025 against macOS with Homebrew.
Separately, libstdc++ 15 stopped transitively including <cstdint>, so yaml-cpp 0.7.0 fails to
compile under GCC 15. The yaml-cpp upgrade addresses both that and its CMake v4 incompatibility.
With the ceiling gone, the three places that uninstalled a working CMake so the pin could reinstall
an older one are removed, and centos-stream-9 now uses dnf's CMake. Only ubuntu-jammy still needs
the pipx install, since its apt CMake (3.22.1) is below the v3.23 floor that ystdlib requires.
`install-cmake.sh` is renamed to `ensure-cmake.sh` to match its now-primary role of validating the
available CMake rather than installing one.
Also upgrades libarchive (3.5.1/3.8.0 -> 3.8.9), SQLite3 (3.36.0 -> 3.53.4), Catch2,
Microsoft.GSL, nlohmann_json, simdjson, utfcpp, zlib, and date, which had drifted well behind
upstream. None of these required changes to CLP's own source.
Supersedes and credits #2453, which surfaced these failures on Ubuntu 26.04 — the first environment
to hit both toolchain shifts at once.
Co-authored-by: Artem Zuikov <chertus@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments