Skip to content

moderngl: add build-moderngl.yml for riscv64 wheels - #1742

Merged
luhenry merged 2 commits into
mainfrom
moderngl
Sep 12, 2026
Merged

luhenry merged 2 commits into
mainfrom
moderngl

Conversation

@luhenry

@luhenry luhenry commented Sep 11, 2026

Copy link
Copy Markdown
Member

Compiles a hand-written C++ extension (src/moderngl.cpp) that wraps OpenGL through function pointers loaded by glcontext (already on the registry) at runtime, with no other build-time native deps. Upstream publishes no riscv64 wheel.

Mirrors upstream's release.yml.

Differs from upstream

  • musllinux runs a context-creation smoke test instead of the full suite - numpy/scipy have no musllinux riscv64 wheel.

Testing

  • manylinux: upstream's pytest suite (tests/), against a standalone EGL context (tests/conftest.py), same as upstream's Containerfile.
  • deselects test_local - it asserts an editable install, never true for a wheel installed into its own venv.
  • musllinux: moderngl.create_context EGL smoke test only.

License: OK

Built on cp312; 359 passed, 0 skipped.

luhenry added a commit that referenced this pull request Sep 11, 2026
@luhenry
luhenry merged commit 7d9b999 into main Sep 12, 2026
14 checks passed
@luhenry
luhenry deleted the moderngl branch September 12, 2026 19:23
@luhenry luhenry linked an issue Sep 13, 2026 that may be closed by this pull request
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.

moderngl riscv64 support

1 participant