mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/openblas to 0.3.28-1
This commit is contained in:
parent
11b3bb7d2c
commit
39bdea1555
3 changed files with 17 additions and 12 deletions
|
@ -1,16 +1,17 @@
|
|||
pkgbase = openblas
|
||||
pkgdesc = An optimized BLAS library based on GotoBLAS2 1.13 BSD
|
||||
pkgver = 0.3.27
|
||||
pkgver = 0.3.28
|
||||
pkgrel = 1
|
||||
url = https://www.openblas.net/
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
makedepends = git
|
||||
makedepends = cmake
|
||||
makedepends = perl
|
||||
makedepends = gcc-fortran
|
||||
depends = gcc-libs
|
||||
source = OpenBLAS-v0.3.27.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v0.3.27.tar.gz
|
||||
sha512sums = 4accc5282244946157b7940211181e011940154ff47855702c68f57a0af2fa5a306f49e47b8c22c02eeff61760c6c220465f05a316a33ee3265bfce65ca4cb84
|
||||
source = git+https://github.com/xianyi/OpenBLAS#tag=v0.3.28
|
||||
sha512sums = 4ccacf6467f7406a538bdefb2ae5a554a9f07cf636449582c1fb49f62ea7e340320ccb48508776c3afddaa57ff9dac492e4d678e41312fb979e9c58f9cf0b353
|
||||
|
||||
pkgname = openblas
|
||||
|
||||
|
@ -24,7 +25,7 @@ pkgname = blas-openblas
|
|||
provides = cblas=3.12.0
|
||||
provides = lapack=3.12.0
|
||||
provides = lapacke=3.12.0
|
||||
provides = openblas-lapack=0.3.27
|
||||
provides = openblas-lapack=0.3.28
|
||||
conflicts = blas
|
||||
conflicts = cblas
|
||||
conflicts = lapack
|
||||
|
|
4
extra/openblas/.nvchecker.toml
Normal file
4
extra/openblas/.nvchecker.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
[openblas]
|
||||
source = "git"
|
||||
git = "https://github.com/xianyi/OpenBLAS.git"
|
||||
prefix = "v"
|
|
@ -8,7 +8,7 @@
|
|||
pkgbase=openblas
|
||||
pkgname=(openblas openblas64 blas-openblas blas64-openblas)
|
||||
_pkgname=OpenBLAS
|
||||
pkgver=0.3.27
|
||||
pkgver=0.3.28
|
||||
pkgrel=1
|
||||
_blasver=3.12.0
|
||||
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
|
||||
|
@ -16,9 +16,9 @@ arch=('x86_64')
|
|||
url="https://www.openblas.net/"
|
||||
license=('BSD')
|
||||
depends=('gcc-libs')
|
||||
makedepends=('cmake' 'perl' 'gcc-fortran')
|
||||
source=(${_pkgname}-v${pkgver}.tar.gz::https://github.com/xianyi/OpenBLAS/archive/v${pkgver}.tar.gz)
|
||||
sha512sums=('4accc5282244946157b7940211181e011940154ff47855702c68f57a0af2fa5a306f49e47b8c22c02eeff61760c6c220465f05a316a33ee3265bfce65ca4cb84')
|
||||
makedepends=('git' 'cmake' 'perl' 'gcc-fortran')
|
||||
source=(git+https://github.com/xianyi/OpenBLAS#tag=v$pkgver)
|
||||
sha512sums=('4ccacf6467f7406a538bdefb2ae5a554a9f07cf636449582c1fb49f62ea7e340320ccb48508776c3afddaa57ff9dac492e4d678e41312fb979e9c58f9cf0b353')
|
||||
|
||||
build() {
|
||||
[[ $CARCH == "aarch64" ]] && CORE="ARMV8" && DYN="OFF"
|
||||
|
@ -30,7 +30,7 @@ build() {
|
|||
# Setting ASM flags for CET support. Setting FFLAGS for CET support.
|
||||
# Remove ` -Wformat -Werror=format-security` not supported by gcc-fortran.
|
||||
|
||||
ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build -S $_pkgname-$pkgver \
|
||||
ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build -S $_pkgname \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
@ -42,7 +42,7 @@ build() {
|
|||
-DDYNAMIC_ARCH=$DYN
|
||||
cmake --build build
|
||||
|
||||
ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build64 -S $_pkgname-$pkgver \
|
||||
ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build64 -S $_pkgname \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
@ -66,13 +66,13 @@ check() {
|
|||
|
||||
package_openblas() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 $_pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -Dm644 $_pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
package_openblas64() {
|
||||
pkgdesc+=" (64-bit integers)"
|
||||
DESTDIR="$pkgdir" cmake --install build64
|
||||
install -Dm644 $_pkgname-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
install -Dm644 $_pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
cd "$pkgdir"/usr/lib/
|
||||
ln -s libopenblas_64.so.${pkgver%.*} libopenblas64_.so # Needed by julia
|
||||
|
|
Loading…
Reference in a new issue