[GLPK] Rebuild with riscv64-linux-gnu support#13754
Merged
Merged
Conversation
- Call update_configure_scripts so the bundled config.sub recognises the riscv64 host triplet (GLPK 5.0's config.sub predates riscv64). - Bump GMP_jll compat to 6.3.0, the first release publishing riscv64-linux-gnu artifacts (still Julia 1.6+ in the General registry). - Bump Build trigger from 1 to 2 to publish a new GLPK_jll release. Locally cross-built GLPK.v5.0.1.riscv64-linux-gnu.tar.gz successfully with libglpk.so.40.3.1 linking against libgmp.so.10.
Draft
3 tasks
Member
|
My understanding is that we can't change dependency versions without changing the version number of this package itself. Is there a new upstream version of GLPK? If so, bumping to that will also make it easy to bump the GMP. |
lgoettgens
reviewed
May 18, 2026
Co-authored-by: Lars Göttgens <lars.goettgens@gmail.com>
odow
approved these changes
May 18, 2026
Contributor
odow
left a comment
There was a problem hiding this comment.
I've bumped the version. There has not been an upstream release since 2020.
s-celles
added a commit
to s-celles/Yggdrasil
that referenced
this pull request
May 19, 2026
GLPK_jll now ships riscv64-linux-gnu artifacts (JuliaPackaging#13754), so drop the platform filter and conditional and bump compat to 5.0.2.
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.
Goal
Publish a
riscv64-linux-gnuartifact forGLPK_jll. The most recent releaseGLPK-v5.0.1+1does not include one, even though the recipe declaressupported_platforms(; experimental=true)(which listsriscv64). The build silently failed on that platform in the previous CI run.Why
Downstream packages depending on
GLPK_jllare forced to filter outriscv64(e.g.Dependency("GLPK_jll"; platforms=filter(p -> arch(p) != "riscv64", platforms))). With a riscv64 artifact in place, that filter can be removed.Related #13717
Changes
update_configure_scriptsafterautoreconf -vi— GLPK 5.0's bundledconfig.sub(2020) does not recognise theriscv64host triplet (Invalid configuration 'riscv64-linux-gnu': machine 'riscv64' not recognized).GMP_jllcompat fromv"6.2.0"(positional, resolves to6.2.0+8which has no riscv64 artifact) tocompat="6.3.0", the first GMP_jll release that ships riscv64-linux-gnu artifacts. GMP_jll 6.3.0 still hasjulia = "1.6.0-1"in the General registry, sojulia_compat="1.6"is preserved.# Build trigger: 1→2to publish a new release.Local validation
Cross-built locally on x86_64-linux-musl host:
Audit confirms
libglpk.so.40.3.1links againstlibgmp.so.10.AI generated initial PR