Repository navigation
[BUILD] Drop the CI/vcpkg setup that only served COIN-OR (OpenBLAS target, autotools, gfortran) - #10800
Conversation
…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
|
No actionable comments were generated in the recent review.
|
| 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: 
5
-
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.
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
left a comment
There was a problem hiding this comment.
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
openblasblocks and comments, they are line for line identical to vcpkg's atf9ffbaa:x64-linuxandarm64-linuxto the built-in triplets intriplets/;x64-linux-dynamicandarm64-linux-dynamictotriplets/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/-vcrelvariants lose only theopenblasblock.
- The dependency closure.
- Method:
vcpkg depend-infoon 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-linuxandarm64-osx-dynamic-sysrootalike. 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,autoreconfand avcpkg-makedependency. Onlylibiconvmatches, 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) andhdf5, whosefortranfeature is not requested. The closure getshdf5[szip,cpp,zlib].
- Method:
- Nothing else runs autotools. No workflow, CI script, Dockerfile or CMake file in the tree calls
autoreconf,./configure,aclocalorlibtoolize. - Packaging. The
package_general.cmakeandthird_party_licenses.cmakechanges 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-testjobs, which rebuild the vcpkg cache from scratch; build-wheels-linuxandbuild-wheels-linux-arm, which runbuild_openms_manylinux.shwithoutautoconf-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
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 ofvcpkg.json(all optional features, the overlay ports and host dependencies) is 166 ports pervcpkg depend-info, for the Linux and macOS triplets alike.openblas,lapackor Fortran.hdf5needs Fortran only with itsfortranfeature, and OpenMS requestscpp.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.libgomp.Changes
vcpkg-overlays/triplets): remove theopenblas-DTARGET=CORE2/ARMV8blocks.x64-linux,arm64-linux,x64-linux-dynamicandarm64-linux-dynamicwere 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.-dbg/-vcrelvariants keep their own settings.tools/ci/deps-ubuntu.sh,tools/ci/deps-macos.sh: noautoconf,autoconf-archive,automakeorlibtool. These scripts are also the install instructions, soinstall-vcpkg.doxygenno longer asks for the autotools chain.tools/ci/build_openms_manylinux.sh: noautoconf-archive. Its comments no longer mention gfortran or libgfortran/libquadmath.cmake/package_general.cmakeandcmake/third_party_licenses.cmakeno 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()inTOPPBase.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 -non the three scripts, the workflow YAML parses,cmake -Ponthird_party_licenses.cmakeand on every remaining triplet.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01Atu9S441eWK9aiSkyP6PGE
Summary by CodeRabbit