public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libzdnn] rawhide: Allow default z15 on Fedora 45
@ 2026-07-01  6:33 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-01  6:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libzdnn
            Branch : rawhide
            Commit : 9cad7b1a700ff1b06aade0edbe8cf44dcfa8338d
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-06-25T18:14:10-04:00
            Stats  : +5/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libzdnn/c/9cad7b1a700ff1b06aade0edbe8cf44dcfa8338d?branch=rawhide

            Log:
            Allow default z15 on Fedora 45

https://fedoraproject.org/wiki/Changes/GNUToolchainF44
https://src.fedoraproject.org/rpms/gcc/pull-request/75
https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/358

---
diff --git a/libzdnn.spec b/libzdnn.spec
index f9b15c5..eae919c 100644
--- a/libzdnn.spec
+++ b/libzdnn.spec
@@ -1,6 +1,6 @@
 Name:		libzdnn
 Version:	1.1.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Driver library for the IBM Z Neural Network Processing Assist Facility
 
 License:	Apache-2.0
@@ -52,7 +52,7 @@ autoreconf -i
 # cflags for the init routines in e.g. zdnn_init.c should just use the distro options.
 # export CFLAGS_INIT explicitely since it is not handled by configure
 CFLAGS_INIT="%{build_cflags}"; export CFLAGS_INIT
-%if 0%{?fedora}
+%if 0%{?fedora} && 0%{?fedora} < 45
 CFLAGS="%{build_cflags} -march=z14 -mtune=z14" CXXFLAGS="%{build_cxxflags} -march=z14 -mtune=z14" \
 %endif
 %configure
@@ -81,6 +81,9 @@ ln -s -r %{buildroot}%{_libdir}/libzdnn.so.%{version} %{buildroot}%{_libdir}/lib
 %{_libdir}/libzdnn.a
 
 %changelog
+* Thu Jun 25 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.1.2-2
+- Allow default z15 on Fedora 45
+
 * Wed May 20 2026 Dan Horák <dan[at]danny.cz> - 1.1.2-1
 - updated to 1.1.2
 

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

only message in thread, other threads:[~2026-07-01  6:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  6:33 [rpms/libzdnn] rawhide: Allow default z15 on Fedora 45 Yaakov Selkowitz

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