Skip to content

fix: Build Linux CUDA wheels in NVIDIA manylinux container#23

Merged
shaia merged 5 commits intomasterfrom
fix/cuda-manylinux-wheel
Jan 6, 2026
Merged

fix: Build Linux CUDA wheels in NVIDIA manylinux container#23
shaia merged 5 commits intomasterfrom
fix/cuda-manylinux-wheel

Conversation

@shaia
Copy link
Copy Markdown
Owner

@shaia shaia commented Jan 6, 2026

Use nvidia/cuda:12.4.0-devel-rockylinux8 container which is manylinux_2_28 compatible. This produces wheels with proper manylinux tags that PyPI accepts.

  • Build both CFD C library and Python wheel inside container
  • Use auditwheel to repair and tag as manylinux_2_28_x86_64
  • Support CUDA architectures: Turing, Ampere, Ada, Hopper (75-90)

shaia added 5 commits January 6, 2026 07:18
Use nvidia/cuda:12.4.0-devel-rockylinux8 container which is manylinux_2_28
compatible. This produces wheels with proper manylinux tags that PyPI accepts.

- Build both CFD C library and Python wheel inside container
- Use auditwheel to repair and tag as manylinux_2_28_x86_64
- Support CUDA architectures: Turing, Ampere, Ada, Hopper (75-90)
CMake needs git to fetch external dependencies (Unity test framework).
auditwheel requires patchelf to repair and retag wheels.
patchelf is in EPEL repository, not base repos.
EPEL patchelf 0.12 is too old, auditwheel requires >= 0.14.
pip provides patchelf 0.17+.
@shaia shaia merged commit fa325b2 into master Jan 6, 2026
15 checks passed
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.

1 participant