mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/openblas to 0.3.26-2
This commit is contained in:
parent
45df318fe5
commit
ebcec53494
2 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
pkgbase = openblas
|
||||
pkgdesc = An optimized BLAS library based on GotoBLAS2 1.13 BSD
|
||||
pkgver = 0.3.26
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://www.openblas.net/
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
|
|
|
@ -9,7 +9,7 @@ pkgbase=openblas
|
|||
pkgname=(openblas openblas64 blas-openblas blas64-openblas)
|
||||
_pkgname=OpenBLAS
|
||||
pkgver=0.3.26
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_blasver=3.12.0
|
||||
pkgdesc="An optimized BLAS library based on GotoBLAS2 1.13 BSD"
|
||||
arch=('x86_64')
|
||||
|
@ -27,7 +27,10 @@ build() {
|
|||
# Setting FC manually to avoid picking up f95 and breaking the cmake build
|
||||
# https://github.com/xianyi/OpenBLAS/issues/4072#issuecomment-1576388332
|
||||
|
||||
FC=gfortran cmake -B build -S $_pkgname-$pkgver \
|
||||
# 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 \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
@ -39,7 +42,7 @@ build() {
|
|||
-DDYNAMIC_ARCH=$DYN
|
||||
cmake --build build
|
||||
|
||||
FC=gfortran cmake -B build64 -S $_pkgname-$pkgver \
|
||||
ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build64 -S $_pkgname-$pkgver \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
|
Loading…
Reference in a new issue