Option to link statically against `libnvrtc_static.a`.
It would be great if it was possible to link against NVRTC statically.
Sorry for lack of response @chr1sj0nes. Your ask implies you want to build cuda-python from source yourself. May I ask why?
Within Google we build everything from source.
Within Google we build everything from source.
Yes, so I was told 🙂 But, I was also told that Google maintains a fork of the whole universe internally (and patch them as needed). Since NVRTC APIs are dlopen'd, it should be possible to patch setup.py with appropriate flags in your internal fork.
Currently we're hesitant to support this feature because of two reasons:
- We rely on public PyPI to deliver software, and we must do everything we can to avoid generating over-sized wheels. Static linking simply does not play well with the constraints we're facing.
- We do not have enough bandwidth to develop/maintain/test this additional option (and because of 1 we would basically treat this option as nonexistent)