* update libblastrampoline to 5.12.0-1

This commit is contained in:
Alexander Baldeck 2024-11-19 11:57:21 +01:00
parent 36faf7fac0
commit 45b9c63434
2 changed files with 20 additions and 7 deletions

View File

@ -1,14 +1,16 @@
pkgbase = libblastrampoline
pkgdesc = Using PLT trampolines to provide a BLAS and LAPACK demuxing library
pkgver = 5.10.0
pkgver = 5.12.0
pkgrel = 1
url = https://github.com/JuliaLinearAlgebra/libblastrampoline
arch = x86_64
arch = powerpc64le
arch = riscv64
license = MIT
makedepends = git
depends = glibc
options = !lto
source = git+https://github.com/JuliaLinearAlgebra/libblastrampoline#tag=v5.10.0
sha256sums = 81fc4d666654685e7a867cb82008647b7053ff348ad0fbd7b9e7a9213a938d75
source = git+https://github.com/JuliaLinearAlgebra/libblastrampoline#tag=v5.12.0
sha256sums = ad564955a936a02f7c7f71c4f9337971affb0cbe01669f9398a92b1932b86bee
pkgname = libblastrampoline

View File

@ -2,8 +2,8 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=libblastrampoline
pkgver=5.10.0
pkgrel=1.1
pkgver=5.12.0
pkgrel=1
pkgdesc='Using PLT trampolines to provide a BLAS and LAPACK demuxing library'
arch=(x86_64 powerpc64le riscv64)
url='https://github.com/JuliaLinearAlgebra/libblastrampoline'
@ -11,15 +11,26 @@ license=(MIT)
depends=(glibc)
makedepends=(git)
source=(git+https://github.com/JuliaLinearAlgebra/libblastrampoline#tag=v$pkgver)
sha256sums=('81fc4d666654685e7a867cb82008647b7053ff348ad0fbd7b9e7a9213a938d75')
sha256sums=('ad564955a936a02f7c7f71c4f9337971affb0cbe01669f9398a92b1932b86bee')
options=(!lto)
build() {
cd $pkgname/src
case "${CARCH}" in
powerpc64le) MYARCH="powerpc64le" ;;
riscv64) MYARCH="riscv64" ;;
x86_64) MYARCH="x86_64" ;;
*)
echo "unsupported architecture"
return 1
;;
esac
make\
COMPLEX_RETSTYLE_AUTODETECTION=0 \
F2C_AUTODETECTION=0 \
LBT_CFLAGS="$CFLAGS -fPIC -D_GNU_SOURCE" \
LBT_CFLAGS="$CFLAGS -fPIC -D_GNU_SOURCE -DARCH_${MYARCH}" \
LBT_LDFLAGS="-shared $LDFLAGS"
}