FindCUDAToolkit doesn't find CUDA::cuFile (case issue with library libcufile.so from conda-forge/Arch Linux)
I was debugging an issue with FindCUDAToolkit.cmake
provided by CMake not finding libcufile.so
. After debugging it looks like the case has changed or is inconsistently used. I am looking at the cuda package installed on Arch Linux that provides libcufile*.so.*
in lib
, and also the conda-forge package that provides for example libcufile.so
and all alternatives such as libcufile_static.a
, libcufile_rdma.so
, libcufile_rdma_static.a
.
A simple hack creating some symlinks enables me to use it in the short-term, or creating a local copy of the file in my project with updated case. I haven't investigated the case used in other places but the current file searches for libcuFile.so
and alternatives marking them as not found if the capitalized 'F' is not used.