Skip to content

Add libcurand-devel to manylinux wheel builds#185

Merged
rsasaki0109 merged 1 commit into
masterfrom
fix/cibuildwheel-curand
Jun 10, 2026
Merged

Add libcurand-devel to manylinux wheel builds#185
rsasaki0109 merged 1 commit into
masterfrom
fix/cibuildwheel-curand

Conversation

@rsasaki0109

Copy link
Copy Markdown
Owner

Summary

Follow-up to #184. With the NVIDIA repo install fixed, the cibuildwheel job got past before-all for the first time and exposed the next missing piece: python/CMakeLists.txt links CUDA::curand, but the manylinux container only installs cuda-cudart-devel-12-0, so CMake fails at configure with "Target _cudarobotics links to CUDA::curand but the target was not found" (failing run).

Add libcurand-devel-12-0 to the yum install in both CIBW_BEFORE_ALL_LINUX (workflow) and [tool.cibuildwheel.linux] before-all (pyproject).

Verification

Ran the full new before-all sequence in quay.io/pypa/manylinux2014_x86_64: libcurand.so / .so.10 present under /usr/local/cuda/lib64. The build-and-test jobs (which run on PRs) already build against a full CUDA toolkit and are unaffected; the cibuildwheel proof lands on the post-merge master run.

With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
@rsasaki0109 rsasaki0109 merged commit 271ec25 into master Jun 10, 2026
4 checks passed
@rsasaki0109 rsasaki0109 deleted the fix/cibuildwheel-curand branch June 10, 2026 21:33
rsasaki0109 added a commit that referenced this pull request Jun 10, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 11, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 11, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With the NVIDIA repo install fixed (#184), cibuildwheel reached CMake
for the first time and exposed the next gap: python/CMakeLists.txt
links CUDA::curand but the build container only installed
cuda-cudart-devel, so the imported target does not exist and configure
fails. Install libcurand-devel-12-0 alongside it in both before-all
blocks.

Verified in quay.io/pypa/manylinux2014_x86_64: libcurand.so present
under /usr/local/cuda/lib64 after install.
rsasaki0109 added a commit that referenced this pull request Jun 17, 2026
With curand fixed (#185), the x86_64 cp310/cp312 wheels now compile,
but cibuildwheel then moves on to manylinux2014_i686 — and NVIDIA
ships no 32-bit CUDA packages, so the before-all yum install dies with
'Not tolerating missing names on install'. Add *i686* to both skip
lists; CUDA wheels are x86_64-only.
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