summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGuillaume Horel2020-02-10 13:22:12 -0500
committerGuillaume Horel2020-02-10 13:22:12 -0500
commite8425126fc53e77110e99cddb5d6f806f90544f3 (patch)
treee2ffb1879186a1e2ffbc5488e8485acaf7f15013 /PKGBUILD
parentaa960a257ea397b0c4650298c657d6d0e9be9b4b (diff)
downloadaur-e8425126fc53e77110e99cddb5d6f806f90544f3.tar.gz
fix blas version
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ddebef07dfd..a8ba8819209 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,14 +9,15 @@ _pkgname=openblas
pkgver=0.3.8
# grep VERSION "${srcdir}/${_PkgName}-${pkgver}"/lapack-netlib/README.md | tail -n 1 | cut -d ' ' -f 2
_lapackver=3.9.0
-pkgrel=1
+_blasver=3.8.0
+pkgrel=2
pkgdesc="Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)"
arch=('x86_64')
url="http://www.openblas.net/"
license=('BSD')
depends=('gcc-libs')
makedepends=('perl' 'gcc-fortran')
-provides=('openblas' "blas=${_lapackver}" "lapack=${_lapackver}" "cblas=${_lapackver}" "lapacke=${_lapackver}")
+provides=('openblas' "blas=${_blasver}" "lapack=${_lapackver}" "cblas=${_blasver}" "lapacke=${_lapackver}")
conflicts=('openblas' 'blas' 'lapack' 'cblas' 'lapacke')
options=(!emptydirs)
source=(${_PkgName}-${pkgver}.tar.gz::https://github.com/xianyi/${_PkgName}/archive/v${pkgver}.tar.gz)
@@ -53,12 +54,12 @@ package(){
cd "${pkgdir}/usr/lib/"
# BLAS
ln -sf libopenblas.so libblas.so
- ln -sf libopenblas.so libblas.so.${_lapackver:0:1}
- ln -sf libopenblas.so libblas.so.${_lapackver}
+ ln -sf libopenblas.so libblas.so.${_blasver:0:1}
+ ln -sf libopenblas.so libblas.so.${_blasver}
# CBLAS
ln -sf libopenblas.so libcblas.so
- ln -sf libopenblas.so libcblas.so.${_lapackver:0:1}
- ln -sf libopenblas.so libcblas.so.${_lapackver}
+ ln -sf libopenblas.so libcblas.so.${_blasver:0:1}
+ ln -sf libopenblas.so libcblas.so.${_blasver}
# LAPACK
ln -sf libopenblas.so liblapack.so
ln -sf libopenblas.so liblapack.so.${_lapackver:0:1}