From a75804ee17d929148c9ec2e2e47965008a692808 Mon Sep 17 00:00:00 2001 From: Cryolitia PukNgae Date: Thu, 14 Nov 2024 22:14:08 +0800 Subject: [PATCH] updpatch: openblas 0.3.28 --- openblas/riscv64.patch | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/openblas/riscv64.patch b/openblas/riscv64.patch index f5b0717c7..1d12adea8 100644 --- a/openblas/riscv64.patch +++ b/openblas/riscv64.patch @@ -1,15 +1,18 @@ --- PKGBUILD +++ PKGBUILD -@@ -30,7 +30,7 @@ build() { +@@ -30,9 +30,8 @@ build() { -DNO_AFFINITY=ON \ -DUSE_OPENMP=1 \ -DNO_WARMUP=1 \ - -DTARGET=CORE2 \ +- -DNUM_THREADS=64 \ +- -DDYNAMIC_ARCH=ON + -DTARGET=RISCV64_GENERIC \ - -DNUM_THREADS=64 \ - -DDYNAMIC_ARCH=ON ++ -DNUM_THREADS=64 cmake --build build -@@ -42,7 +42,8 @@ build() { + + ASMFLAGS=$CFLAGS FFLAGS=${CFLAGS/ -Wformat -Werror=format-security/} FC=gfortran cmake -B build64 -S $_pkgname \ +@@ -42,9 +41,9 @@ build() { -DNO_AFFINITY=ON \ -DUSE_OPENMP=1 \ -DNO_WARMUP=1 \ @@ -17,5 +20,7 @@ + -DTARGET=RISCV64_GENERIC \ + -DFCOMMON_OPT=-fdefault-integer-8 \ -DNUM_THREADS=64 \ - -DDYNAMIC_ARCH=ON \ +- -DDYNAMIC_ARCH=ON \ -DINTERFACE64=1 + cmake --build build64 + }