public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Nicolas Chauvet <kwizart@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/onednn] xpu-support-single-build: Add patch to fix s390x build - rhbz#2416316
Date: Mon, 19 Oct 2026 21:41:02 GMT	[thread overview]
Message-ID: <179244606278.1.13685055209298667371.rpms-onednn-2338f200f977@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-10-19 21:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179244606278.1.13685055209298667371.rpms-onednn-2338f200f977@fedoraproject.org \
    --to=kwizart@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox