This repository was archived by the owner on Mar 29, 2025. It is now read-only.

Description
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).