Skip to content

Commit

Permalink
OpenBLAS-devel: update to 20241230, fix on G5
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Dec 30, 2024
1 parent 1f34b81 commit 40c233e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 6 deletions.
14 changes: 8 additions & 6 deletions math/OpenBLAS/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,19 @@ if {${os.major} < 9} {
subport OpenBLAS-devel {}
if {[string first "-devel" $subport] > 0} {

github.setup OpenMathLib OpenBLAS e1eef56e0510fecd5a05df9a8fddaf63a3d91ef0
github.setup OpenMathLib OpenBLAS 36b0fb3aff5a984f2138e8610da179623bf655e5
github.tarball_from archive
version 20240704-[string range ${github.version} 0 7]
checksums rmd160 0612839aa8727b4cc76a4ac35b93bac8ea3920a9 \
sha256 6f501ad13a94eef28c55b301018b85ec4b7eb4c38f4ac4b021ef953d7de581e4 \
size 24634029
version 20241230-[string range ${github.version} 0 7]
checksums rmd160 b7e1da5c324f111f0631474e961af755f35878ff \
sha256 85e819a04a0d8b4e479687448dc0a7cf5457507445508de7f9cf7602a8d083ac \
size 24692178
revision 0

conflicts OpenBLAS

patchfiles patch-OpenBLAS-i386-Apple.diff
# https://github.com/OpenMathLib/OpenBLAS/issues/5034
patchfiles patch-OpenBLAS-i386-Apple.diff \
patch-ppc970.diff

github.livecheck.branch develop

Expand Down
13 changes: 13 additions & 0 deletions math/OpenBLAS/files/patch-ppc970.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- kernel/power/KERNEL.PPC970.orig 2024-12-30 20:49:18.000000000 +0800
+++ kernel/power/KERNEL.PPC970 2024-12-30 20:49:30.000000000 +0800
@@ -83,6 +83,10 @@
CTRSMKERNEL_RN = ztrsm_kernel_LT.S
CTRSMKERNEL_RT = ztrsm_kernel_RT.S

+SSCALKERNEL = ../arm/scal.c
+DSCALKERNEL = ../arm/scal.c
+CSCALKERNEL = ../arm/zscal.c
+ZSCALKERNEL = ../arm/zscal.c

SROTKERNEL = ../arm/rot.c
DROTKERNEL = ../arm/rot.c

0 comments on commit 40c233e

Please sign in to comment.