Skip to content

[BUILD] Drop the CI/vcpkg setup that only served COIN-OR (OpenBLAS target, autotools, gfortran) - #10800

Merged
poshul merged 1 commit into
developfrom
claude/eager-noether-d475r0
Nov 3, 2026
Merged

poshul merged 1 commit into
developfrom
claude/eager-noether-d475r0

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

Follow-up to #10565, which removed COIN-OR. COIN-OR was the only dependency that pulled OpenBLAS and LAPACK into the vcpkg builds, and on Linux and macOS the only one built with autotools. This removes the setup that existed for it.

Why it is safe: with the vcpkg baseline pinned in vcpkg-configuration.json, the full dependency closure of vcpkg.json (all optional features, the overlay ports and host dependencies) is 166 ports per vcpkg depend-info, for the Linux and macOS triplets alike.

  • No port uses openblas, lapack or Fortran. hdf5 needs Fortran only with its fortran feature, and OpenMS requests cpp.
  • The only autotools-based port is libiconv. It builds GNU libiconv only on Windows, iOS, BSD and old Android. On Linux and macOS it is an empty package, and on Windows vcpkg brings its own MSYS2 autotools.
  • The Linux wheel log of Remove the COIN-OR and GLPK LP solver backends (HiGHS only) #10565's CI confirms it: none of its 145 vcpkg ports is OpenBLAS, LAPACK or COIN-OR, and auditwheel grafts only libgomp.

Changes

  • vcpkg triplets (vcpkg-overlays/triplets): remove the openblas -DTARGET=CORE2/ARMV8 blocks.
    • x64-linux, arm64-linux, x64-linux-dynamic and arm64-linux-dynamic were added only for these blocks (vcpkg: build OpenBLAS for a fixed CPU target on Linux #10264). Without them they are identical to vcpkg's built-in and community triplets, so they are removed.
    • The -dbg/-vcrel variants keep their own settings.
  • tools/ci/deps-ubuntu.sh, tools/ci/deps-macos.sh: no autoconf, autoconf-archive, automake or libtool. These scripts are also the install instructions, so install-vcpkg.doxygen no longer asks for the autotools chain.
  • tools/ci/build_openms_manylinux.sh: no autoconf-archive. Its comments no longer mention gfortran or libgfortran/libquadmath.
  • Comments in the devcontainer, the wheel workflow, cmake/package_general.cmake and cmake/third_party_licenses.cmake no longer claim that vcpkg's LAPACK needs libgfortran. The code that bundles system libraries for the DEB package, and installs their licenses, stays as a safety net. When no such library is needed it returns without doing anything.

Not changed

  • limitOpenBLASThreads() in TOPPBase.cpp ([FEATURE] TOPP tools: -threads 0 uses the physical cores; OpenBLAS on one thread #10774) is left alone. Its comment names libCoinUtils as the source of OpenBLAS. HiGHS from vcpkg, from conda-forge and fetched by OpenMS is built without BLAS, so in OpenMS's own builds the function finds no OpenBLAS and does nothing. Whether to keep it for other environments, or remove it, is a separate decision.

Testing

  • bash -n on the three scripts, the workflow YAML parses, cmake -P on third_party_licenses.cmake and on every remaining triplet.
  • CI: the triplet changes alter vcpkg's ABI hashes on Linux, so the first run rebuilds the Linux vcpkg cache and takes longer than usual.

Checklist

  • Make sure that you are listed in the AUTHORS file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes (no local build; CI covers it)
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

🤖 Generated with Claude Code

https://claude.ai/code/session_01Atu9S441eWK9aiSkyP6PGE

Summary by CodeRabbit

  • Chores
    • Reduced the build prerequisites on Linux and macOS by removing autotools-related packages that are no longer required.
    • Updated Linux and ARM64 build configurations to let OpenBLAS select its default CPU target, rather than forcing a specific target.
    • Removed several legacy Linux build configurations.
    • Updated build and packaging documentation to reflect current system-library and licensing requirements.

…rget, autotools, gfortran)

COIN-OR was removed in #10565. It was the only dependency that pulled
OpenBLAS and LAPACK into the vcpkg builds and the only one that built
with autotools on Linux and macOS. With the vcpkg baseline of
vcpkg-configuration.json, no port in the dependency closure of
vcpkg.json (all features, overlay ports included, 167 ports) uses
openblas, lapack or Fortran, and the only autotools-based one, libiconv,
builds GNU libiconv only on Windows, iOS, BSD and old Android (on Linux
and macOS it is an empty package; on Windows vcpkg brings its own MSYS2
autotools). hdf5 needs Fortran only with its fortran feature; OpenMS
asks for cpp.

- vcpkg triplets: remove the openblas -DTARGET blocks. x64-linux,
  arm64-linux, x64-linux-dynamic and arm64-linux-dynamic existed only
  for them (#10264) and are now identical to vcpkg's own triplets, so
  they are removed; the -dbg/-vcrel variants keep their own settings.
- tools/ci/deps-ubuntu.sh, deps-macos.sh: no autoconf, autoconf-archive,
  automake, libtool. These scripts are also the install instructions
  (install-vcpkg.doxygen), whose text no longer asks for autotools.
- tools/ci/build_openms_manylinux.sh: no autoconf-archive; the wheel
  bundles only libgomp now (no libgfortran/libquadmath).
- Comments in the devcontainer, the wheel workflow and the license
  code (package_general.cmake, third_party_licenses.cmake): libgfortran
  came only through COIN-OR's LAPACK. The system-library license code
  stays as a safety net; with no such library it does nothing.

The triplet changes alter vcpkg's ABI hashes on Linux, so the first CI
run rebuilds the Linux vcpkg cache.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Atu9S441eWK9aiSkyP6PGE
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bfa7b336-737d-43a4-a5d4-c90593e77734
Commits

Reviewing files that changed from the base of the PR and between 3aa7bc2 and 6f2ba81.

Files selected for processing: 16
  • .devcontainer/Dockerfile
  • .github/workflows/pyopenms-wheels-cibuildwheel.yml
  • cmake/package_general.cmake
  • cmake/third_party_licenses.cmake
  • doc/doxygen/install/install-vcpkg.doxygen
  • tools/ci/build_openms_manylinux.sh
  • tools/ci/deps-macos.sh
  • tools/ci/deps-ubuntu.sh
  • vcpkg-overlays/triplets/arm64-linux-dynamic-dbg.cmake
  • vcpkg-overlays/triplets/arm64-linux-dynamic-vcrel.cmake
  • vcpkg-overlays/triplets/arm64-linux-dynamic.cmake
  • vcpkg-overlays/triplets/arm64-linux.cmake
  • vcpkg-overlays/triplets/x64-linux-dynamic-dbg.cmake
  • vcpkg-overlays/triplets/x64-linux-dynamic-vcrel.cmake
  • vcpkg-overlays/triplets/x64-linux-dynamic.cmake
  • vcpkg-overlays/triplets/x64-linux.cmake
Files with no reviewable changes: 10
  • vcpkg-overlays/triplets/x64-linux-dynamic-dbg.cmake
  • vcpkg-overlays/triplets/arm64-linux-dynamic-vcrel.cmake
  • tools/ci/deps-ubuntu.sh
  • vcpkg-overlays/triplets/x64-linux-dynamic-vcrel.cmake
  • tools/ci/deps-macos.sh
  • vcpkg-overlays/triplets/x64-linux.cmake
  • vcpkg-overlays/triplets/x64-linux-dynamic.cmake
  • vcpkg-overlays/triplets/arm64-linux.cmake
  • vcpkg-overlays/triplets/arm64-linux-dynamic-dbg.cmake
  • vcpkg-overlays/triplets/arm64-linux-dynamic.cmake

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

Walkthrough

The pull request removes OpenBLAS CPU target overrides from Linux triplets and deletes four Linux triplet files. It also removes autotools and Fortran-related dependency references from CI scripts, packaging comments, wheel comments, and installation documentation.

Changes: Build configuration cleanup

Layer / File(s) Summary
Build and runtime dependency references
.devcontainer/Dockerfile, tools/ci/*, doc/doxygen/install/install-vcpkg.doxygen, .github/workflows/pyopenms-wheels-cibuildwheel.yml, cmake/*
CI dependency lists no longer install autotools packages. Prerequisite and license comments remove references to dependencies associated with the removed COIN-OR solver.
Linux triplets and OpenBLAS settings
vcpkg-overlays/triplets/*linux*.cmake
OpenBLAS-specific CPU target options are removed from four existing triplets. Four other Linux triplet files are deleted.

Possibly related PRs

  • OpenMS/OpenMS#10565: Removes COIN-OR and GLPK and their vcpkg solver support, which this pull request’s cleanup references.

Suggested reviewers: poshul, jpfeuffer

Change: Other

Merge Risk: Minimal · up to 6f2ba

The reviewed changes are safe to merge; the documentation grammar issue is pre-existing and outside this PR’s scope.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the main change: removing CI and vcpkg setup that supported the removed COIN-OR dependency, including OpenBLAS, autotools, and gfortran configuration.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (5 skipped: 5 unsupported.)

Finishing Touches
Generate docstrings
  • Commit to this branch
  • Create a new PR
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the build list twice,
The old tools hop out of sight.
OpenBLAS sheds its fixed targets,
Four triplets leave the burrow,
And clover grows where notes once sat.

@timosachsenberg timosachsenberg left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI-generated initial review

This is an automated, AI-generated first review. It looks for high- and medium-priority issues only (no nits) and checks whether the PR has tests and measurements. I read the code at 6f2ba81 against its merge base e89fe2d on develop. Please double-check anything before acting on it. A maintainer will follow up.

I did not build OpenMS. Instead I checked the PR's two claims against vcpkg at the pinned baseline f9ffbaa, using a shallow checkout with the vcpkg tool bootstrapped:

  • the deleted triplets equal vcpkg's own;
  • no port in the dependency closure needs OpenBLAS, LAPACK, Fortran or autotools.

Verdict: I found no high- or medium-priority issue. Both claims hold.

Checked and found sound

  • The deleted overlay triplets. Without their openblas blocks and comments, they are line for line identical to vcpkg's at f9ffbaa:
    • x64-linux and arm64-linux to the built-in triplets in triplets/;
    • x64-linux-dynamic and arm64-linux-dynamic to triplets/community/.
    • So the Linux presets (CMakePresets.json:51, :59), the default host triplet and the manylinux build (build_openms_manylinux.sh:35-36) get the same settings as before.
    • No remaining triplet include()s a deleted file.
    • The -dbg/-vcrel variants lose only the openblas block.
  • The dependency closure.
    • Method: vcpkg depend-info on the manifest's dependencies plus the dependencies of all 11 features, with the PR's overlay ports and triplets. I used classic mode, because a shallow clone cannot resolve the manifest's version constraints.
    • Size: 166 ports for x64-linux-dynamic, arm64-linux-dynamic, x64-linux, arm64-linux and arm64-osx-dynamic-sysroot alike. The description says 167.
    • Autotools: in every portfile and port manifest, I searched for vcpkg_configure_make, vcpkg_make_configure, vcpkg_build_make, vcpkg_make_install, autoreconf and a vcpkg-make dependency. Only libiconv matches, and its portfile returns early (an empty package) unless the target is Windows, iOS, BSD or Android below API 28.
    • OpenBLAS, LAPACK, Fortran: the only matches are eigen3 (-DEIGEN_BUILD_LAPACK=OFF) and hdf5, whose fortran feature is not requested. The closure gets hdf5[szip,cpp,zlib].
  • Nothing else runs autotools. No workflow, CI script, Dockerfile or CMake file in the tree calls autoreconf, ./configure, aclocal or libtoolize.
  • Packaging. The package_general.cmake and third_party_licenses.cmake changes are comments only. The DEB's system-library bundling stays and does nothing when nothing is found, as the description says.

Tests

None are needed beyond CI for a change to the build setup. The deciding run is the first CI run with the changed triplet hashes:

  • the Linux and ARM build-and-test jobs, which rebuild the vcpkg cache from scratch;
  • build-wheels-linux and build-wheels-linux-arm, which run build_openms_manylinux.sh without autoconf-archive.

All checks on 6f2ba81 were still queued when I looked.

Measurements

Not applicable: the PR claims no change in speed or output.


Generated by Claude Code

@poshul
poshul merged commit 7b5d88c into develop Nov 3, 2026
34 checks passed
@poshul
poshul deleted the claude/eager-noether-d475r0 branch November 3, 2026 08:38
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.

3 participants