Commit 534d3f3
committed
Fix: Drop
The wheel build at `setup.py:412` linked the CUDA driver stub `-lcuda`
in addition to the runtime `-lcudart`, but the library only ever calls
runtime APIs (`cudaMallocManaged`, `cudaFree`, `cudaMemcpyToSymbolAsync`,
`cudaSetDevice`, `cudaGetDeviceProperties`). No driver-API call sites
exist in `include/stringzillas/types.cuh` or `include/stringzillas/similarities.cuh`.
The CMake path is already correct: `CMakeLists.txt:766` links only
`CUDA::cudart` to `stringzillas_cuda_shared`. The wheel path regressed
in 4abf63c (Aug 2025, "Make: Custom CudaBuildExtension for Python")
which added the unconditional `-lcuda` to `extra_link_args` even though
the manylinux wheel containers intentionally omit `libcuda.so` (it's
the driver stub, not part of the CUDA toolkit), causing
`ld: cannot find -lcuda` and breaking every `Build StringZillas-CUDA`
matrix job.-lcuda from stringzillas-cuda wheel link line1 parent 1166b5b commit 534d3f3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
0 commit comments