summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Horel2020-02-10 13:22:12 -0500
committerGuillaume Horel2020-02-10 13:22:12 -0500
commite8425126fc53e77110e99cddb5d6f806f90544f3 (patch)
treee2ffb1879186a1e2ffbc5488e8485acaf7f15013
parentaa960a257ea397b0c4650298c657d6d0e9be9b4b (diff)
downloadaur-e8425126fc53e77110e99cddb5d6f806f90544f3.tar.gz
fix blas version
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c7e53c431b3..b13d7473d0a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = openblas-lapack
pkgdesc = Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)
pkgver = 0.3.8
- pkgrel = 1
+ pkgrel = 2
url = http://www.openblas.net/
arch = x86_64
license = BSD
@@ -9,9 +9,9 @@ pkgbase = openblas-lapack
makedepends = gcc-fortran
depends = gcc-libs
provides = openblas
- provides = blas=3.9.0
+ provides = blas=3.8.0
provides = lapack=3.9.0
- provides = cblas=3.9.0
+ provides = cblas=3.8.0
provides = lapacke=3.9.0
conflicts = openblas
conflicts = blas
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}