community/openblas to 0.3.14-1

This commit is contained in:
Kevin Mihelich 2021-04-24 20:09:26 +00:00
parent 175fcfacf4
commit 9b3efd21e1

View file

@ -7,21 +7,22 @@
pkgname=openblas
_pkgname=OpenBLAS
pkgver=0.3.13
pkgrel=2.1
pkgver=0.3.14
pkgrel=1
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
arch=('x86_64')
url="https://www.openblas.net/"
license=('BSD')
depends=('gcc-libs')
makedepends=('perl' 'gcc-fortran')
provides=('blas=3.8.0')
checkdepends=('cblas')
provides=('blas=3.9.0')
conflicts=('blas')
source=(${_pkgname}-v${pkgver}.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz)
sha512sums=('86e7f496587cc35d7feede99cbe3cf627ef690dd7489bb03b95f7d15ed758e32baf17d79f17b1de187184394233f60a8249a64dd53c3d59a9540db92269b7ee4')
sha512sums=('c7d5947ada525a32bc6e97ff94272df9730fa5fb06102e06e80472baedc1a9119d82050cdaede192db15f816ae7143784d7801b61b64fab5b5cf97cdbd5e625e')
build() {
cd "$srcdir/$_pkgname-$pkgver"
cd $_pkgname-$pkgver
truncate -s 0 Makefile.arm
[[ $CARCH == "aarch64" ]] && CONFIG="TARGET=ARMV8"
@ -34,8 +35,14 @@ build() {
NUM_THREADS=64 MAJOR_VERSION=3 libs shared
}
check() {
cd $_pkgname-$pkgver
# TODO
#make CFLAGS="$CPPFLAGS $CFLAGS -lcblas" TARGET=CORE2 tests
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
cd $_pkgname-$pkgver
make PREFIX="$pkgdir"/usr NUM_THREADS=64 MAJOR_VERSION=3 install
rm -f "$pkgdir"/usr/include/cblas.h "$pkgdir"/usr/include/lapack*