Skip to content

Commit

Permalink
updpatch: openblas 0.3.28
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryolitia authored and felixonmars committed Nov 14, 2024
1 parent 250e5e3 commit a75804e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions openblas/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
--- 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 \
- -DTARGET=CORE2 \
+ -DTARGET=RISCV64_GENERIC \
+ -DFCOMMON_OPT=-fdefault-integer-8 \
-DNUM_THREADS=64 \
-DDYNAMIC_ARCH=ON \
- -DDYNAMIC_ARCH=ON \
-DINTERFACE64=1
cmake --build build64
}

0 comments on commit a75804e

Please sign in to comment.