feat: add Nanvix cross-compilation infrastructure for numpy C extensions#16
Open
ppenna wants to merge 1 commit into
Open
feat: add Nanvix cross-compilation infrastructure for numpy C extensions#16ppenna wants to merge 1 commit into
ppenna wants to merge 1 commit into
Conversation
de29890 to
8e9f644
Compare
8e9f644 to
afa2685
Compare
e53c749 to
73322ac
Compare
252fa28 to
b6ecfd5
Compare
da52864 to
21da9ab
Compare
21da9ab to
3cdda2c
Compare
Add build scripts, CI workflow, and zutils integration for cross-compiling numpy's multiarray_umath module to i686-nanvix static library. nanvix-port/build-nanvix.sh: - Cross-compiles numpy core C sources (multiarray, umath, SVML) - Produces dist/libnumpy.a - Uses i686-nanvix-gcc from Docker toolchain .nanvix/: - nanvix.toml: package metadata pinned to v1.26.4 - z.py: build script with setup/build/test/release/clean commands .github/workflows/nanvix-ci.yml: - Reusable workflow integration with nanvix/workflows - Replaces legacy Makefile.nanvix-based CI - Scheduled + push/PR triggers on nanvix/** branches z, z.sh: - Standard zutils entry points (bootstrap nanvix-zutil v0.8.2) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3cdda2c to
8aa2ad2
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.
Summary
Add build scripts for cross-compiling numpy's core
multiarray_umathmodule to i686-nanvix static library.Contents
nanvix-port/build-nanvix.shdist/libnumpy.ai686-nanvix-gccfrom Docker toolchain.nanvix/nanvix.toml) for integration with CPython build systemModule compiled
Single monolithic module
_multiarray_umathcontaining:Related PRs
_np_multiarray_umath_builtin.c)