I'm using manylinux2014_x86_64
build some precompiled linux wheels for a python library that acts as an API to a C++ library involving CUDA. I create the wheels with pip wheel
, then run auditwheel repair
to include external libraries in the wheels (my c++ library, pybind11, etc.)
The problem is that it wants to package CUDA runtime and driver libraries into the wheel. Ideally I'd like to leave the CUDA installation up to the user rather than having to include it in the python wheel (I'm not even sure exactly how redistributable it is).
Is anyone aware of a way to blacklist the cuda libs from auditwheel repair
? Or perhaps another better way of doing this?