From 40c233ea2deefc11f3fcb01a7744ad959ee8dbdc Mon Sep 17 00:00:00 2001 From: Sergey Fedorov Date: Tue, 31 Dec 2024 00:01:06 +0800 Subject: [PATCH] OpenBLAS-devel: update to 20241230, fix on G5 --- math/OpenBLAS/Portfile | 14 ++++++++------ math/OpenBLAS/files/patch-ppc970.diff | 13 +++++++++++++ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 math/OpenBLAS/files/patch-ppc970.diff diff --git a/math/OpenBLAS/Portfile b/math/OpenBLAS/Portfile index 6ac85dfee1457..8a65c7459e799 100644 --- a/math/OpenBLAS/Portfile +++ b/math/OpenBLAS/Portfile @@ -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 diff --git a/math/OpenBLAS/files/patch-ppc970.diff b/math/OpenBLAS/files/patch-ppc970.diff new file mode 100644 index 0000000000000..ac8e0b55444c6 --- /dev/null +++ b/math/OpenBLAS/files/patch-ppc970.diff @@ -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