Skip to content

feat: build riscv64+glibc wheel - #249

Merged
mattip merged 4 commits into
MacPython:mainfrom
ffgan:rv64_cross_build
Feb 1, 2026
Merged

mattip merged 4 commits into
MacPython:mainfrom
ffgan:rv64_cross_build

Conversation

@ffgan

@ffgan ffgan commented Jan 4, 2026

Copy link
Copy Markdown
  • I updated the package version in pyproject.toml and made sure the first 3 numbers match ./openblas_commit.txt. If I did not update ./openblas_commit.txt, I incremented the wheel build number (i.e. 0.3.29.0.0 to 0.3.29.0.1)

Note: update ./openblas_commit.txt with cd OpenBLAS; git describe --tags --abbrev=8 > ../openblas_commit.txt


close #226


Cross-compiling riscv64 on arm64 takes less time than cross-compiling riscv64 on x86, completing in about half an hour, which is similar to cross-compiling s390x on arm64. Perhaps we can consider adding riscv64 support for openblas-libs.

I ran the CI in my fork, and the results show everything went smoothly. For details, check here.


Other Info
Co-authored by: [email protected];

@rgommers

Copy link
Copy Markdown
Collaborator

30 minutes per job isn't too bad, and this diff is quite clean, looks good! This accumulated a small merge conflict unfortunately, could you please resolve that @ffgan?

@rgommers

Copy link
Copy Markdown
Collaborator

@mattip this seems reasonable to me to add as is, it's about as fast as ppc64le and s390x. WDYT?

ffgan added 2 commits February 1, 2026 07:11
@mattip
mattip merged commit db637ab into MacPython:main Feb 1, 2026
24 checks passed
@mattip

mattip commented Feb 1, 2026

Copy link
Copy Markdown
Collaborator

Thanks @ffgan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Build riscv64 wheel

3 participants