Skip to content

passagemath-cddlib: Add version 10.8.13 - #4760

Merged
luhenry merged 4 commits into
mainfrom
port/passagemath-cddlib
Nov 10, 2026
Merged

luhenry merged 4 commits into
mainfrom
port/passagemath-cddlib

Conversation

@luhenry

@luhenry luhenry commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Compiles the cddlib polyhedral-computation programs (bundled under sage_wheels/bin) plus a stub abi3 extension. Upstream publishes no riscv64 wheel.

Mirrors upstream's dist.yml and the sdist's own [tool.cibuildwheel.linux] repair step.

Differs from upstream

  • sdist built from a sparse monorepo checkout, as in build-passagemath-objects.yml
  • gmp, mpfr and mpc come from dnf/apk instead of Sage spkgs

Matrix: cp311 dropped - cysignals, a build requirement, has no cp311 riscv64 wheel.

Testing

  • upstream's doctests need passagemath-polyhedra, -flint, -pari and -repl, none available on riscv64; instead the bundled scdd_gmp and lcdd compute a cube's 8 vertices.

License: Wheel bundles cddlib (GPL-2.0-or-later); upstream ships no licence text, so the build adds it.

Patches

  • 0001-add-the-package-s-own-licence-file.patch - To upstream [not yet submitted]. Without it the wheel carries no licence text. Reproduces on x86.

Not built yet; CI pending.

luhenry added a commit that referenced this pull request Nov 9, 2026
repair_wheel.py bundles cddlib's executables into sage_wheels/bin. On
riscv64 they link non-PIE at 0x10000, so once auditwheel grafts libcddgmp
and patchelf prepends a segment for the RPATH, it lands below
vm.mmap_min_addr and scdd_gmp dies with SIGSEGV at exec (gotcha 595).
Raise the text segment on manylinux; Alpine's GCC already links PIE.
_publish-wheel.yml now requires a matrix input (main's "publish:
Validate effective wheel targets"), but this PR branch forked before
that landed and passagemath-cddlib has never been merged to main, so
build-passagemath-cddlib.yml never picked up the matching one-line
update every already-published package's workflow got. The merge ref
combines the new required-input _publish-wheel.yml with this branch's
old build-passagemath-cddlib.yml, so any run has failed startup with
"Input matrix is required, but not provided".

Pass it the same way the mass-update commit did for every other
package's publish job.
@luhenry
luhenry merged commit 6071ea7 into main Nov 10, 2026
10 checks passed
@luhenry
luhenry deleted the port/passagemath-cddlib branch November 10, 2026 14:18
luhenry added a commit that referenced this pull request Nov 16, 2026
Drop the patch that removed repair_wheel.py from repair-wheel-command.
build-passagemath-cddlib.yml already proved the passagemath-conf +
sage_setup make(spkg-ensure) + repair_wheel.py pipeline green on both
manylinux and musllinux riscv64 (PR #4760's per-target build jobs all
succeeded) for the same shape (sage_conf is a build-system requirement
here too), so dropping it was an unnecessary divergence from upstream
based on a stale assumption from before that PR landed. dnf-installing
boost-devel still matters on its own: it is what lets passagemath-conf's
own AX_BOOST_BASE([1.83.0]) probe find a system Boost and skip
build/pkgs/boost_cropped's from-source cmake build during
make("boost_cropped-ensure").
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.

1 participant