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 2025-07-10 22:14:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-torch (Old)
 and      /work/SRC/openSUSE:Factory/.python-torch.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-torch"

Thu Jul 10 22:14:15 2025 rev:7 rq:1291721 version:2.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-torch/python-torch.changes        
2025-07-09 17:27:17.864775077 +0200
+++ /work/SRC/openSUSE:Factory/.python-torch.new.7373/python-torch.changes      
2025-07-10 22:14:24.569357438 +0200
@@ -1,0 +2,6 @@
+Thu Jul 10 08:58:20 UTC 2025 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Add kleidiai dep (vendored)
+- Workaround build error on aarch64 with -Wno-incompatible-pointer-types
+
+-------------------------------------------------------------------

New:
----
  kleidiai-cca02c2.tar.gz

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

Other differences:
------------------
++++++ python-torch.spec ++++++
--- /var/tmp/diff_new_pack.R7ZK0y/_old  2025-07-10 22:14:25.797408514 +0200
+++ /var/tmp/diff_new_pack.R7ZK0y/_new  2025-07-10 22:14:25.801408680 +0200
@@ -75,6 +75,7 @@
 %define tensorpipe               52791a2
 # nested vendored
 %define libnop 910b558
+%define kleidiai                 cca02c2
 
 %{?sle15_python_module_pythons}
 Name:           python-torch%{?pkg_suffix}
@@ -128,6 +129,9 @@
 # yes this is patch to vendored file and upstream has archived this one, so 
this will stay
 # adding it as a source avoid issues with autosetup
 Source31:       add-cstdint.patch
+# License 33: Apache-2.0 and BSD-3-Clause
+Source33:       
https://github.com/ARM-software/kleidiai/archive/%{kleidiai}.tar.gz#/kleidiai-%{kleidiai}.tar.gz
+
 
 Patch1:         skip-third-party-check.patch
 Patch2:         fix-setup.patch
@@ -309,6 +313,7 @@
 %make_depend_src %{SOURCE27}
 %make_depend_src %{SOURCE28}
 %make_depend_src %{SOURCE29}
+%make_depend_src %{SOURCE33}
 # getting the vendoring of the vendored source working, this is
 # insanity at the next level. My only exuse is that libnop is header only
 rmdir tensorpipe/third_party/libnop
@@ -324,6 +329,7 @@
 
 %build
 cat > buildvars <<EOF
+export USE_KLEIDIAI=ON
 export USE_SYSTEM_LIBS=OFF
 export USE_NNPACK=OFF
 %if %{with cuda}
@@ -376,6 +382,10 @@
 export USE_VULKAN=ON
 export CXXFLAGS="-I /usr/ -Wno-error=return-type"
 %endif
+%ifarch aarch64
+export CFLAGS="$CFLAGS -Wno-incompatible-pointer-types"
+export CXXFLAGS="$CXXFLAGS -Wno-incompatible-pointer-types"
+%endif
 EOF
 
 source ./buildvars

Reply via email to