flashlight icon indicating copy to clipboard operation
flashlight copied to clipboard

[arrayfile] CMake Error: The following variables are used in this project, but they are set to NOTFOUND

Open Dawn-970 opened this issue 2 years ago • 0 comments

Describe the bug

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublasLt_static_LIBRARY (ADVANCED)
    linked by target "af_cuda_static_cuda_library" in directory /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean/src/backend/cuda
CUDA_cublas_static_LIBRARY (ADVANCED)
    linked by target "af_cuda_static_cuda_library" in directory /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean/src/backend/cuda

Environment

  • OS: linux

To Reproduce Steps to reproduce the behavior:

  1. ./vcpkg/vcpkg install flashlight-cuda
  2. or ./vcpkg/vcpkg install arrayfire[core,cpu,cuda,unified]
  3. See error

Failure logs

Computing installation plan...
The following packages will be built and installed:
  * arrayfire[core,cpu,cuda,unified]:x64-linux -> 3.8.0
    flashlight-cuda[core,fl]:x64-linux -> 0.3#2
  * nccl[core]:x64-linux -> 2.4.6#2
  * openmpi[core]:x64-linux -> 4.1.0#4
  * stb[core]:x64-linux -> 2020-09-14#1
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-linux...
Restored 0 packages from /.cache/vcpkg/archives in 44.31 us. Use --debug to see more details.
Starting package 1/5: arrayfire:x64-linux
Building package arrayfire[core,cpu,cuda,unified]:x64-linux...
-- Using cached arrayfire-arrayfire-d99887ae431fcd58168b653a1e69f027f04d5188.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/arrayfire-arrayfire-d99887ae431fcd58168b653a1e69f027f04d5188.tar.gz
-- Applying patch build.patch
-- Applying patch Fix-constexpr-error-with-vs2019-with-half.patch
-- Using source at /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean
-- Using cached arrayfire-threads-b666773940269179f19ef11c8f1eb77005e85d9a.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/arrayfire/src/7005e85d9a-64aebcce4b.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/arrayfire-threads-b666773940269179f19ef11c8f1eb77005e85d9a.tar.gz
-- Using source at /opt/vcpkg/buildtrees/arrayfire/src/7005e85d9a-64aebcce4b.clean
-- Using cached arrayfire-forge-1a0f0cb6371a8c8053ab5eb7cbe3039c95132389.tar.gz.
-- Cleaning sources at /opt/vcpkg/buildtrees/arrayfire/src/9c95132389-511398ace8.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /opt/vcpkg/downloads/arrayfire-forge-1a0f0cb6371a8c8053ab5eb7cbe3039c95132389.tar.gz
-- Using source at /opt/vcpkg/buildtrees/arrayfire/src/9c95132389-511398ace8.clean
-- Configuring x64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):

........

See logs for more information:
      /opt/vcpkg/buildtrees/arrayfire/config-x64-linux-dbg-out.log
      /opt/vcpkg/buildtrees/arrayfire/config-x64-linux-dbg-err.log

____config-x64-linux-dbg-err.log

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublasLt_static_LIBRARY (ADVANCED)
    linked by target "af_cuda_static_cuda_library" in directory /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean/src/backend/cuda
CUDA_cublas_static_LIBRARY (ADVANCED)
    linked by target "af_cuda_static_cuda_library" in directory /opt/vcpkg/buildtrees/arrayfire/src/27f04d5188-8c5530790a.clean/src/backend/cuda

Dawn-970 avatar Apr 13 '22 03:04 Dawn-970