arrayfire / arrayfire

ArrayFire: a general purpose GPU library.

Home Page:https://arrayfire.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Build] Build error on x64-linux

opened this issue · comments

Trying to build arrayfire with cuda using vpckg:
vcpkg install arrayfire[cuda]
And get the following error:

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_lapack_static_LIBRARY (ADVANCED)
    linked by target "af_cuda_static_cuda_library" in directory /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/src/27f04d5188-42e72796d0.clean/src/backend/cuda

I'm using GCC 12.2 and cuda 12.2 and After looking into this it looks like liblapack_static was renamed to libcusolver_lapack_static, so tried testing a build after symbolic link now we get the following fail in install-x64-linux-dgb.out.log:


[295/832] cd /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/src/27f04d5188-42e72796d0.clean/src/backend/common && /media/z/zhdd1/z/code/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake -E make_directory /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/x64-linux-dbg/src/backend/cuda/nvrtc_kernel_headers && /media/z/zhdd1/z/code/vcpkg/downloads/tools/cmake-3.27.1-linux/cmake-3.27.1-linux-x86_64/bin/cmake -E echo \#include\ \</media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/src/27f04d5188-42e72796d0.clean/src/backend/cuda/../common/Transform.hpp\> >>"/media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/x64-linux-dbg/src/backend/cuda/nvrtc_kernel_headers/Transform_hpp.hpp" && /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/x64-linux-dbg/bin2cpp --file Transform.hpp --namespace cuda --output /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/x64-linux-dbg/src/backend/cuda/nvrtc_kernel_headers/Transform_hpp.hpp --name Transform_hpp --nullterm
FAILED: src/backend/cuda/nvrtc_kernel_headers/Transform_hpp.hpp /media/z/zhdd1/z/code/vcpkg/buildtrees/arrayfire/x64-linux-dbg/src/backend/cuda/nvrtc_kernel_headers/Transform_hpp.hpp 

Build Environment

Compiler version: gcc 12.2, cuda 12.2
Operating system: Debian 11
Build environment:
CMake variables:

Thanks,
vevo

Duplicate of #3349. Please track that issue instead for updates. Closing this one