diff options
author | eolianoe | 2019-03-10 16:00:45 +0100 |
---|---|---|
committer | eolianoe | 2019-03-10 16:00:45 +0100 |
commit | 2d61ecc1a7f825443ab9a11a8db4f3368dfd61f5 (patch) | |
tree | 3d95fc70db6f073453e8f007ea9a7765d3ec5b27 | |
parent | a07cee34ae6a4dcd449d1914c8b2b267c944f282 (diff) | |
download | aur-2d61ecc1a7f825443ab9a11a8db4f3368dfd61f5.tar.gz |
proper version of the library
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -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.5 - pkgrel = 1 + pkgrel = 2 url = http://www.openblas.net/ arch = any license = BSD @@ -8,7 +8,7 @@ _pkgname=openblas pkgver=0.3.5 # grep VERSION "${srcdir}/${_PkgName}-${pkgver}"/lapack-netlib/README.md | tail -n 1 | cut -d ' ' -f 2 _lapackver=3.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)" arch=('any') url="http://www.openblas.net/" @@ -25,12 +25,13 @@ sha256sums=('0950c14bd77c90a6427e26210d6dab422271bc86f9fc69126725833ecdaa0e85') # MAKE_NB_JOBS=2 \ _config="FC=gfortran USE_OPENMP=0 USE_THREAD=1 \ USE_COMPILER_TLS=0 \ - NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1" + NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1 \ + MAJOR_VERSION=${_lapackver:0:1} NO_STATIC=1" build(){ cd "${srcdir}/${_PkgName}-${pkgver}" - make ${_config} libs netlib shared + make ${_config} CFLAGS="${CFLAGS}" libs netlib shared } check(){ |