You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 29, 2025. It is now read-only.
Some users of RustaCUDA have found that setting CUDA_LIBRARY_PATH isn't sufficient to allow them to build cuda-sys: bheisler/RustaCUDA#15
I ran into a similar problem while setting up my Travis-CI builds for RustaCUDA on an Ubuntu VM which might be related. If I set CUDA_LIBRARY_PATH to /usr/local/cuda-8.0/targets/x86_64-linux/lib, it could find libcublas.so and libcudart.so but not libcuda.so (which is in /usr/local/cuda-8.0/targets/x86_64-linux/lib/stubs for some reason).
Changing the path that the GCC linker searches for includes and libraries - that seems like a pretty big hammer. I'd prefer to figure out why CUDA_LIBRARY_PATH doesn't work and fix cuda-sys, if possible.
Activity
Add lib64/stubs directory (#7)
alphastrata commentedon Jun 30, 2019
Is there a good solution to this yet?
LutzCle commentedon Jun 30, 2019
Setting
works for me on Ubuntu 16.04 and 18.04. I don't have CUDA_LIBRARY_PATH set.
bheisler commentedon Jul 16, 2019
Changing the path that the GCC linker searches for includes and libraries - that seems like a pretty big hammer. I'd prefer to figure out why CUDA_LIBRARY_PATH doesn't work and fix cuda-sys, if possible.