ck-math icon indicating copy to clipboard operation
ck-math copied to clipboard

Installing package:lib-clblas-master-universal fails when libOpenCL.so is not in a standard path

Open psyhtest opened this issue 7 years ago • 0 comments

Probably need to set OPENCL_LIBRARIES.

$ ck install package:lib-clblas-master-universal 
...
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   program_options
-- Boost_PROGRAM_OPTIONS_LIBRARY: /home/anton/CK_TOOLS/lib-boost-1.64.0-gcc-6.3.0-linux-64/install/lib/libboost_program_options.a
-- CMAKE_C_COMPILER_MACHINE: aarch64-linux-gnu
-- AutoGemm-PreCompile: no kernels to be pre-compiled.
-- OPENCL_VERSION = 1.2
-- clBLAS will NOT depend on /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/obj/include/AutoGemmKernelBinaries/AutoGemmKernelBinariesPreCompiled.h
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:
OPENCL_LIBRARIES (ADVANCED)
    linked by target "AutoGemm_Tools_Profile" in directory /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/src/src/library
    linked by target "AutoGemm_Tools_Test" in directory /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/src/src/library
    linked by target "clBLAS" in directory /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/src/src/library
    linked by target "tune" in directory /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/src/src/library/tools/tune
    linked by target "make-ktest" in directory /home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/src/src/library/tools/ktest

-- Configuring incomplete, errors occurred!
See also "/home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/obj/CMakeFiles/CMakeOutput.log".
See also "/home/anton/CK_TOOLS/lib-clblas-master-gcc-6.3.0-linux-64/obj/CMakeFiles/CMakeError.log".
Error: configuring failed!

psyhtest avatar Sep 19 '17 22:09 psyhtest