public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/blis] rawhide: - Update to v2.1
@ 2026-09-23 21:45 Dave Love
  0 siblings, 0 replies; only message in thread
From: Dave Love @ 2026-09-23 21:45 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/blis
            Branch : rawhide
            Commit : c9cf6b71bf460e33d8e1f582c5f783bf988bfe9a
            Author : Dave Love <loveshack@fedoraproject.org>
            Date   : 2026-09-23T21:35:45+00:00
            Stats  : +33/-10 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/blis/c/c9cf6b71bf460e33d8e1f582c5f783bf988bfe9a?branch=rawhide

            Log:
            - Update to v2.1

- Drop gcc patch
- Use aarch64 and power9 configs
- Remove workaround for asm error
- Add patch for arm64 build

---
diff --git a/.gitignore b/.gitignore
index cdba74f..13761dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /blis-0.7.0.tar.gz
 /blis-0.9.0.tar.gz
 /blis-2.0.tar.gz
+/blis-2.1.tar.gz

diff --git a/blis-arm64-fix.patch b/blis-arm64-fix.patch
new file mode 100644
index 0000000..8452e01
--- /dev/null
+++ b/blis-arm64-fix.patch
@@ -0,0 +1,10 @@
+--- blis-2.1/config_registry~	2026-09-23 18:52:49.920697292 +0000
++++ blis-2.1/config_registry	2026-09-23 18:55:05.953520697 +0000
+@@ -12,7 +12,7 @@
+ intel64:        skx knl haswell sandybridge penryn generic
+ amd64_legacy:   excavator steamroller piledriver bulldozer generic
+ amd64:          zen3 zen2 zen generic
+-arm64:          armsve firestorm thunderx2 cortexa57 cortexa53 generic
++arm64:          firestorm thunderx2 cortexa57 cortexa53 generic
+ arm32:          cortexa15 cortexa9 generic
+ power:          power10 power9 generic

diff --git a/blis.spec b/blis.spec
index cf57849..0290b49 100644
--- a/blis.spec
+++ b/blis.spec
@@ -8,15 +8,19 @@
 %global sover .4.0.0
 %global soshort .4
 
+# This isn't necessary with the current BLIS, but the fix probably
+# isn't robust, so keep it around.
 # Both these are necessary to avoid asm error
 # error: bp cannot be used in ‘asm’ here
 # Fixme: patch to localize this
+#if 0
 %undefine _include_frame_pointers
 %define _lto_cflags %{nil}
+#endif
 
 Name:		blis
-Version:	2.0
-Release:	7%{?dist}
+Version:	2.1
+Release:	1%{?dist}
 Summary:	BLAS-like Library Instantiation Software Framework
 License:	BSD-3-Clause
 URL:		https://github.com/flame/blis
@@ -25,7 +29,7 @@ Source0:	https://github.com/flame/blis/archive/%commit/%name-%shortcommit.tar.gz
 %else
 Source0:	https://github.com/flame/blis/archive/%version/%name-%version.tar.gz
 %endif
-Patch1:         0001-Update-Haswell-gemmsup-fix-for-gcc-16-and-later.-891.patch
+Patch1:         blis-arm64-fix.patch
 BuildRequires:	perl
 BuildRequires:	binutils gcc
 BuildRequires:	python3-devel gcc-gfortran chrpath
@@ -126,16 +130,17 @@ BLIS architecture macros.
 
 %prep
 %setup -q %{?commit: -n %name-%commit}
-%patch -P1 -p1 -b .gcc16
+%patch -p1 -P1
 
 %build
 case %_arch in
 x86_64) arch=x86_64 ;;
-# a57 runs on all aarch64 and the optimized micro-kernel should be a
-# better default than generic.
-# Fixme:  Include my changes for arm and ppc micro-arch dispatch.
-aarch64) arch=cortexa57 ;;
-armv7hl) arch=cortexa9 ;;	# Similarly to aarch64
+aarch64) arch=arm64 ;;
+%if 0%{?rhel} >= 9 || 0%{?fedora}
+# Fixme: patch in my dynamic dispatch code
+ppc64le) arch=power9 ;;
+%endif
+# Fixme: For s390, use block sizes from OpenBLAS
 *) arch=generic ;;
 esac
 
@@ -372,6 +377,13 @@ export LD_LIBRARY_PATH=`pwd`/serial/lib
 %{macrosdir}/macros.blis-srpm
 
 %changelog
+* Wed Sep 23 2026 Dave Love <loveshack@fedoraproject.org> - 2.1-1
+- Update to v2.1
+- Drop gcc patch
+- Use aarch64 and power9 configs
+- Remove workaround for asm error
+- Add patch for arm64 build
+
 * Wed Jul 15 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index a902426..3446251 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (blis-2.0.tar.gz) = 5b1195533fe951c025b01b5f92d682217a3c8b3b5477ad20cdbf1d3163e7085167d9be7f552f59173dba7798e2dbacf8772374d4250d3db6404b7f7b9ae67916
+SHA512 (blis-2.1.tar.gz) = e03f5a8b50df26087b8af0b9921acb535ca3058ee051c090c21ff183c8631cdddd76c1fbc1b3b6d4120ef99f54abed3445a3fcb5a796f3a685bbb05567ee2e30

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-23 21:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-23 21:45 [rpms/blis] rawhide: - Update to v2.1 Dave Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox