Feat/add cymem integration#5
Merged
Merged
Conversation
ppenna
force-pushed
the
feat/add-cymem-integration
branch
from
February 27, 2026 15:49
5dc518d to
9934524
Compare
- Add nanvix/cpython and nanvix/cymem as git submodules (deps/) - Rewrite z script: setup downloads Nanvix runtime + inits submodules + fetches CPython build deps; new 'build' command cross-compiles cymem and CPython from source with cymem.cymem as a built-in static module - Add patches/cymem_builtin.c shim to bridge makesetup's init function naming (PyInit_cymem_cymem) with cymem's actual export (PyInit_cymem) - Register cymem.cymem via Modules/Setup.local during CPython build - Remove pre-built CPython/cymem artifact downloads from z script - Update CI workflow: checkout with submodules, add build step, remove get-release-info job and CPYTHON_TAG/CYMEM_TAG variables - Add cymem to site-packages-extra.txt (pure Python package files) - Add functional test test_101_cymem.py (from cymem.cymem import Pool)
ppenna
force-pushed
the
feat/add-cymem-integration
branch
from
February 27, 2026 16:34
9934524 to
ce44aec
Compare
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.
This pull request introduces major changes to the build and CI workflow, switching from downloading pre-built CPython artifacts to building CPython and the
cymemmodule from source as submodules. It adds support for linkingcymemas a built-in CPython module, updates the CI pipeline to reflect this new approach, and provides new scripts and tests to ensure proper integration. The most important changes are grouped below.