Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] Build error on x64-linux #3537

Open
ghost opened this issue Feb 25, 2024 · 0 comments
Open

[Build] Build error on x64-linux #3537

ghost opened this issue Feb 25, 2024 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Feb 25, 2024

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

@ghost ghost added the build label Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants