public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openblas] rawhide: Update to 0.3.34
@ 2026-08-01 17:43 Peter Robinson
  0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-08-01 17:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/openblas
Branch : rawhide
Commit : ab5066185a567f4f118e604f987d9cdb572957de
Author : Peter Robinson <pbrobinson@gmail.com>
Date   : 2026-07-20T08:15:14+01:00
Stats  : +31/-3 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/openblas/c/ab5066185a567f4f118e604f987d9cdb572957de?branch=rawhide

Log:
Update to 0.3.34

---
diff --git a/openblas-0.3.34-fix-commonh.patch b/openblas-0.3.34-fix-commonh.patch
new file mode 100644
index 0000000..bbeeb15
--- /dev/null
+++ b/openblas-0.3.34-fix-commonh.patch
@@ -0,0 +1,22 @@
+--- OpenBLAS-0.3.34/common.h.orig	2026-07-19 22:51:37.303252809 +0100
++++ OpenBLAS-0.3.34/common.h	2026-07-19 22:54:40.394426336 +0100
+@@ -582,8 +582,8 @@
+ #ifdef HAVE_C11
+ static __inline void blas_lock(volatile BLASULONG *address) {
+   BLASULONG expected = 0;
+-  while (!atomic_compare_exchange_strong((volatile _Atomic BLASULONG *)address,
+-             &expected, (BLASULONG)1)) {
++  while (!__atomic_compare_exchange_n(address, &expected, 1, 0,
++                                       __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)) {
+     expected = 0;
+     YIELDING;
+   }
+@@ -592,7 +592,7 @@
+ 
+ static __inline void blas_unlock(volatile BLASULONG *address){
+ #ifdef HAVE_C11
+-  atomic_store((volatile _Atomic BLASULONG *)address, (BLASULONG)0);
++  __atomic_store_n(address, (BLASULONG)0, __ATOMIC_SEQ_CST);
+ #else
+   MB;
+   *address = 0;

diff --git a/openblas.spec b/openblas.spec
index 0de6b3b..ac25088 100644
--- a/openblas.spec
+++ b/openblas.spec
@@ -14,8 +14,8 @@
 # "obsoleted" features are still kept in the spec.
 
 Name:           openblas
-Version:        0.3.29
-Release:        4%{?dist}
+Version:        0.3.34
+Release:        1%{?dist}
 Summary:        An optimized BLAS library based on GotoBLAS2
 
 License:        BSD-3-Clause
@@ -30,6 +30,8 @@ Patch1:         openblas-0.2.5-libname.patch
 Patch2:         openblas-0.2.15-constructor.patch
 # Supply the proper flags to the test makefile
 Patch3:         openblas-0.3.11-tests.patch
+# Fix a bare C11 type-qualifier
+Patch4:         openblas-0.3.34-fix-commonh.patch
 
 BuildRequires:  make
 BuildRequires:  gcc
@@ -230,6 +232,7 @@ cd OpenBLAS-%{version}
 %patch 2 -p1 -b .constructor
 %endif
 %patch 3 -p1 -b .tests
+%patch 4 -p1 -b .fix-c++
 
 # Fix source permissions
 find -name \*.f -exec chmod 644 {} \;
@@ -640,6 +643,9 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig
 %endif
 
 %changelog
+* Mon Jul 20 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 0.3.34-1
+- Update to 0.3.34 (fixes rhbz#2273704, rhbz#2374021)
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.29-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 4baebd0..26dd9d1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (OpenBLAS-0.3.29.tar.gz) = 046316b4297460bffca09c890ecad17ea39d8b3db92ff445d03b547dd551663d37e40f38bce8ae11e2994374ff01e622b408da27aa8e40f4140185ee8f001a60
+SHA512 (OpenBLAS-0.3.34.tar.gz) = b40b5a3b5062ea196b3e48363db584ef91aef21c61becf4f4d6616ba5e413d770c22445c357d06dcf0992dd4666c18cced44cd5d09d8cb884c0d8f62e6940422

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

only message in thread, other threads:[~2026-08-01 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 17:43 [rpms/openblas] rawhide: Update to 0.3.34 Peter Robinson

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