我正在尝试构建CLBLAS来自 Ubuntu 16.04(64 位)的源代码。从cmake
配置输出来看,依赖关系似乎已得到满足。我正在按照以下指示进行指导这里像这样;
## clBlas
sudo apt-get install git
git clone https://github.com/clMathLibraries/clBLAS.git
cd clBLAS/
mkdir build
cd build/
sudo apt-cache search openblas
sudo apt-get install libopenblas-base libopenblas-dev
sudo apt-get install liblapack3 liblapack-doc liblapack-dev
cmake ../src
make
sudo make install
make[2]: *** No rule to make target '/opt/AMDAPPSDK-
3.0/lib/x86_64/libOpenCL.so', needed by 'library/libclBLAS.so.2.10.0'. Stop.
CMakeFiles/Makefile2:223: recipe for target 'library/CMakeFiles/clBLAS.dir/all' failed
make[1]: *** [library/CMakeFiles/clBLAS.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2
我没有包含所有输出,仅包含显示sudo make install
运行时问题的最后几行。任何人都可以建议这里的问题是什么以及如何构建 clBLAS 吗?谢谢。