conda-forge / cupy-feedstock

A conda-smithy repository for cupy.
BSD 3-Clause "New" or "Revised" License
5 stars 23 forks source link

Build failures on CUDA 10.1 #3

Closed jakirkham closed 4 years ago

jakirkham commented 4 years ago

Currently CUDA 10.1 builds are failing. Here are the CI jobs. Logs for the 3 failure are also attached below.

This appears to be caused by some of the CUDA headers being relocated. This is discussed a bit in issue ( https://gitlab.com/nvidia/container-images/cuda/issues/54 ). The change appears to be part of CUDA 10.1 itself. For example cuBLAS went through this relocation as explained in the CUDA Toolkit 10.1 release notes.

With this release, on Linux systems, the cuBLAS libraries listed below are now installed in the /usr/lib/<arch>-linux-gnu/ or /usr/lib64/ directories as shared and static libraries. Their interfaces are available in the /usr/include directory

As a result we will need to adjust the build to handle these relocations.


4_linux linux_cuda_compiler_version10.1python2.7.txt 5_linux linux_cuda_compiler_version10.1python3.6.txt 6_linux linux_cuda_compiler_version10.1python3.7.txt

jakirkham commented 4 years ago

For now have added PR ( https://github.com/conda-forge/cupy-feedstock/pull/2 ) to search /usr/include last. This should fix the issue, but we may want to revisit how we handle this issue as it will affect other packages as well.