diff options
author | Andrew Anderson | 2019-01-26 15:17:05 +0000 |
---|---|---|
committer | Andrew Anderson | 2019-01-26 15:17:05 +0000 |
commit | 7b9efe4e85dd7734b6cdded8b88e038e7a1b844f (patch) | |
tree | fc9147e93c8de4a000d501458561e89e26df7cd9 | |
parent | 78274c6bdd6c707a57e6fea32197e11f066d835f (diff) | |
download | aur-7b9efe4e85dd7734b6cdded8b88e038e7a1b844f.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 15 |
2 files changed, 10 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = openblas-lapack-openmp pkgdesc = Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas) pkgver = 0.3.4 - pkgrel = 0 + pkgrel = 1 url = http://www.openblas.net/ arch = any license = BSD @@ -19,6 +19,7 @@ pkgbase = openblas-lapack-openmp conflicts = cblas conflicts = lapacke options = !emptydirs + options = !strip source = OpenBLAS-0.3.4.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v0.3.4.tar.gz sha256sums = SKIP @@ -7,9 +7,8 @@ pkgname=openblas-lapack-openmp _PkgName=OpenBLAS _pkgname=openblas pkgver=0.3.4 -# grep VERSION "${srcdir}/${_PkgName}-${pkgver}"/lapack-netlib/README.md | tail -n 1 | cut -d ' ' -f 2 _lapackver=3.8.0 -pkgrel=0 +pkgrel=1 pkgdesc="Optimized BLAS library based on GotoBLAS2 1.13 BSD (providing blas, lapack, and cblas)" arch=('any') url="http://www.openblas.net/" @@ -18,15 +17,17 @@ depends=('gcc-libs') makedepends=('perl' 'gcc-fortran') provides=('openblas' "blas=${_lapackver}" "lapack=${_lapackver}" "cblas=${_lapackver}" "lapacke=${_lapackver}") conflicts=('openblas' 'blas' 'lapack' 'cblas' 'lapacke') -options=(!emptydirs) +options=(!emptydirs !strip) source=(${_PkgName}-${pkgver}.tar.gz::https://github.com/xianyi/${_PkgName}/archive/v${pkgver}.tar.gz) sha256sums=('SKIP') -_config="FC=gfortran USE_OPENMP=1 USE_THREAD=1 \ - USE_COMPILER_TLS=0 \ - NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1" \ - MAKE_NB_JOBS=`cat /proc/cpuinfo | grep processor | wc -l` \ +_ncpus=$(eval "cat /proc/cpuinfo | grep MHz | wc -l") +_config="CC=gcc FC=gfortran \ + USE_OPENMP=1 USE_THREAD=1 USE_COMPILER_TLS=0 \ + NO_LAPACK=0 BUILD_LAPACK_DEPRECATED=1 \ + MAKE_NB_JOBS=${_ncpus} \ + PREFIX=/usr/ " build(){ cd "${srcdir}/${_PkgName}-${pkgver}" |