Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-torch for openSUSE:Factory 
checked in at 2026-06-16 13:56:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-torch (Old)
 and      /work/SRC/openSUSE:Factory/.python-torch.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-torch"

Tue Jun 16 13:56:30 2026 rev:9 rq:1359658 version:2.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-torch/python-torch.changes        
2026-06-09 14:31:47.261098920 +0200
+++ /work/SRC/openSUSE:Factory/.python-torch.new.1981/python-torch.changes      
2026-06-16 14:02:05.394849995 +0200
@@ -1,0 +2,6 @@
+Mon Jun 15 13:22:33 UTC 2026 - Guillaume GARDET <[email protected]>
+
+- Backport upstream patch to fix build on aarch64:
+  * xnnpack-aarch64-fix.patch
+
+-------------------------------------------------------------------

New:
----
  xnnpack-aarch64-fix.patch

----------(New B)----------
  New:- Backport upstream patch to fix build on aarch64:
  * xnnpack-aarch64-fix.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-torch.spec ++++++
--- /var/tmp/diff_new_pack.H2d4bF/_old  2026-06-16 14:02:08.602983761 +0200
+++ /var/tmp/diff_new_pack.H2d4bF/_new  2026-06-16 14:02:08.602983761 +0200
@@ -69,6 +69,7 @@
 Patch1:         skip-third-party-check.patch
 Patch3:         pytorch-patch-onednn.patch
 Patch4:         disable-py312-intrinsics.patch
+Patch5:         xnnpack-aarch64-fix.patch
 
 # A python call to cmake fails with a return code of 1 on this arch, disable 
it for now.
 # and 32-bit arm is not supported

++++++ xnnpack-aarch64-fix.patch ++++++
>From 7ae1761a044a7a67420433e4d03b32bd1a750ce7 Mon Sep 17 00:00:00 2001
From: Pedro Gonnet <[email protected]>
Date: Wed, 12 Feb 2025 05:46:31 -0800
Subject: [PATCH] Ensure non-`void` functions always return a value.

PiperOrigin-RevId: 726019381
---
 third_party/XNNPACK/src/pf16-gemm/pf16-gemm-32x32-minmax-neonsme2.c           
| 2 ++
 third_party/XNNPACK/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c           
| 2 ++
 third_party/XNNPACK/src/pqs8-qc8w-gemm/pqs8-qc8w-gemm-32x32-minmax-neonsme2.c 
| 2 ++
 third_party/XNNPACK/src/x16-pack-lh/x16-packlh-neonsme2.c                     
| 2 ++
 third_party/XNNPACK/src/x32-pack-lh/x32-packlh-neonsme2.c                     
| 2 ++
 third_party/XNNPACK/src/x8-pack-lh/x8--packlh-neonsme2.c                      
| 2 ++
 6 files changed, 12 insertions(+)

diff --git 
a/third_party/XNNPACK/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c 
b/third_party/XNNPACK/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c
index 24359d9a4cd..bcfaa3a1740 100644
--- a/third_party/XNNPACK/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c
+++ b/third_party/XNNPACK/src/pf32-gemm/pf32-gemm-32x32-minmax-neonsme2.c
@@ -20,6 +20,7 @@ size_t xnn_pf32_gemm_minmax_ukernel_32x32__neonsme2_get_mr() {
   assert(
       "Calling KleidiAI kai_get_mr wrapper, but XNNPACK was compiled without "
       "`XNN_ENABLE_KLEIDIAI`." && 0);
+  return 0;
 #endif  // XNN_ENABLE_KLEIDIAI
 }
 
@@ -30,6 +31,7 @@ size_t xnn_pf32_gemm_minmax_ukernel_32x32__neonsme2_get_nr() {
   assert(
       "Calling KleidiAI kai_get_nr wrapper, but XNNPACK was compiled without "
       "`XNN_ENABLE_KLEIDIAI`." && 0);
+  return 0;
 #endif  // XNN_ENABLE_KLEIDIAI
 }
 
--- a/third_party/XNNPACK/src/x32-pack-lh/x32-packlh-neonsme2.c  2026-06-15 
15:45:39.463764153 +0200
+++ b/third_party/XNNPACK/src/x32-pack-lh/x32-packlh-neonsme2.c  2026-06-15 
15:46:17.185680957 +0200
@@ -34,6 +34,7 @@ void xnn_x32_pack_lh_ukernel__neonsme2(s
                                      lhs_stride, lhs_packed);
 #else
   assert("Not compiled with XNN_ENABLE_KLEIDIAI" && 0);
+  return;
 #endif  // XNN_ENABLE_KLEIDIAI
 }

@@ -42,5 +43,6 @@ size_t xnn_x32_pack_lh_size__neonsme2(si
   return kai_get_lhs_packed_size_lhs_pack_f32p2vlx1_f32_sme(m, k, mr, kr, sr);
 #else
   assert("Not compiled with XNN_ENABLE_KLEIDIAI" && 0);
+  return 0;
 #endif  // XNN_ENABLE_KLEIDIAI
 }

Reply via email to