ublas/.ci/install-clblas.sh
2018-10-29 08:38:37 -04:00

11 lines
416 B
Bash
Executable File

#! /bin/bash -e
wget https://github.com/clMathLibraries/clBLAS/releases/download/v2.12/clBLAS-2.12.0-Linux-x64.tar.gz
tar xvf clBLAS-2.12.0-Linux-x64.tar.gz
if [ ${CLBLAS_PREFIX} ]; then
mkdir -p ${CLBLAS_PREFIX}/lib/
cp -r clBLAS-2.12.0-Linux-x64/include ${CLBLAS_PREFIX}/include
cp -r clBLAS-2.12.0-Linux-x64/lib64/* ${CLBLAS_PREFIX}/lib/
cp -r clBLAS-2.12.0-Linux-x64/bin ${CLBLAS_PREFIX}/bin
fi