public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/onednn] xpu-support-single-build: Add patch to fix s390x build - rhbz#2416316
@ 2026-10-19 21:41 Nicolas Chauvet
0 siblings, 0 replies; only message in thread
From: Nicolas Chauvet @ 2026-10-19 21:41 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/onednn
Branch : xpu-support-single-build
Commit : 2338f200f97789c04ad1cc8f9065b76736e1e6aa
Author : Nicolas Chauvet <kwizart@gmail.com>
Date : 2025-11-21T15:43:25+01:00
Stats : +55/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/onednn/c/2338f200f97789c04ad1cc8f9065b76736e1e6aa?branch=xpu-support-single-build
Log:
Add patch to fix s390x build - rhbz#2416316
---
diff --git a/4364.patch b/4364.patch
new file mode 100644
index 0000000..a9b1e13
--- /dev/null
+++ b/4364.patch
@@ -0,0 +1,54 @@
+From 9f89e2ad78c57da650435e1cd3c7ab9c5229b828 Mon Sep 17 00:00:00 2001
+From: Arseniy Obolenskiy <gooddoog@student.su>
+Date: Fri, 21 Nov 2025 14:55:51 +0100
+Subject: [PATCH] cpu: s390x: fix ALWAYS_INLINE placement in helpers
+
+---
+ src/cpu/s390x/helpers.h | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/src/cpu/s390x/helpers.h b/src/cpu/s390x/helpers.h
+index 9817aad5776..5b65cf03618 100644
+--- a/src/cpu/s390x/helpers.h
++++ b/src/cpu/s390x/helpers.h
+@@ -49,34 +49,34 @@ struct vec_type_t {
+
+ ALWAYS_INLINE vec_type_t(Type v) : _val {v} {}
+
+- static vec_type_t<T> ALWAYS_INLINE loadu(const void *ptr) {
++ ALWAYS_INLINE static vec_type_t<T> loadu(const void *ptr) {
+ return {vec_xl(0, reinterpret_cast<const ElementType *>(ptr))};
+ }
+
+- static ALWAYS_INLINE vec_type_t<T> loadLen(
++ ALWAYS_INLINE static vec_type_t<T> loadLen(
+ const void *ptr, uint32_t BYTE_INDEX) {
+ return {vec_load_len(
+ reinterpret_cast<const ElementType *>(ptr), BYTE_INDEX)};
+ }
+
+- static vec_type_t<T> ALWAYS_INLINE load_hinted(const void *ptr) {
++ ALWAYS_INLINE static vec_type_t<T> load_hinted(const void *ptr) {
+ Type const *addr = (Type const *)ptr;
+ Type y;
+ y = *addr;
+ return y;
+ }
+
+- void ALWAYS_INLINE store(void *ptr) const {
++ ALWAYS_INLINE void store(void *ptr) const {
+ vec_xst(_val, 0, reinterpret_cast<ElementType *>(ptr));
+ }
+
+- void ALWAYS_INLINE storeLen(void *ptr, uint32_t BYTE_INDEX) const {
++ ALWAYS_INLINE void storeLen(void *ptr, uint32_t BYTE_INDEX) const {
+ vec_store_len(_val, reinterpret_cast<ElementType *>(ptr), BYTE_INDEX);
+ }
+
+ ALWAYS_INLINE const Type &vec() const { return _val; }
+
+- vec_type_t<T> &ALWAYS_INLINE operator+=(const vec_type_t<T> &other) {
++ ALWAYS_INLINE vec_type_t<T> &operator+=(const vec_type_t<T> &other) {
+ _val = _val + other._val;
+ return *this;
+ }
diff --git a/onednn.spec b/onednn.spec
index c0804ef..7148b44 100644
--- a/onednn.spec
+++ b/onednn.spec
@@ -6,6 +6,7 @@ Summary: The oneAPI Deep Neural Network Library
License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MIT
URL: https://github.com/uxlfoundation/oneDNN
Source0: %{url}/archive/v%{version}/onednn-%{version}.tar.gz
+Patch0: https://github.com/uxlfoundation/oneDNN/pull/4364.patch
# This package only work in 64bit arches for now
ExclusiveArch: x86_64 aarch64 ppc64le s390x
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-19 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-19 21:41 [rpms/onednn] xpu-support-single-build: Add patch to fix s390x build - rhbz#2416316 Nicolas Chauvet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox