Conversation
Upstream builds its Linux wheels in manylinux_2_28 with vcpkg supplying Ceres, SuiteSparse, METIS, glog, OpenImageIO (with OpenColorIO) and GLEW, and builds COLMAP itself in cibuildwheel's before-all. vcpkg has no riscv64 binary cache and Rocky 10 packages none of those libraries, so a first job builds them from the versions upstream's vcpkg baseline pins (cached across runs) and COLMAP with upstream's CMake flags; the per-interpreter jobs build only the pybind11 bindings against that SDK. clang-format==22.1.1 is dropped from the build requirements: nothing in the wheel build runs it and it has no riscv64 wheel.
luhenry
added a commit
that referenced
this pull request
Sep 25, 2026
Contributor
|
Rocky 10's libjpeg-turbo-devel ships a CMake config whose libjpeg-turbo::turbojpeg target points at libturbojpeg.so, which lives in the separate CRB turbojpeg package; without it any find_package(libjpeg-turbo), OpenImageIO's included, fails. Install it. OpenImageIO 3.1.14.0 builds its missing pystring from master and checks it against a fixed commit, which master has since moved past. 3.1.14.1 changes only that, to the v1.2.0 tag vcpkg itself pins.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pycolmap4.1.1Compiles COLMAP (plus Ceres, SuiteSparse, METIS, glog, OpenImageIO/OpenColorIO) and its pybind11 bindings. Upstream publishes no riscv64 wheel.
Mirrors upstream's
build-pycolmap.yml.Differs from upstream
before-all--as-needed- upstream links them staticallyWERROR_ENABLEDdropped - GCC 14 is newer than upstream's gcc-toolset-12Matrix: cp312, cp313, cp314 - upstream builds no free-threaded wheel.
Testing
License: Wheel bundles SuiteSparse's CHOLMOD/SPQR (GPL-2.0-or-later, as upstream's wheel does), Ceres, OpenImageIO and image libraries (libgfortran, jbigkit, libcurl's closure); the build adds their licence texts and GPL sources.
Patches
0001-build-drop-the-unused-clang-format-build-requirement.patch- Inappropriate. clang-format 22.1.1 has no riscv64 wheel and the build never runs it; reproduces anywhere without that wheel.Awaiting the first riscv64 run.