Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package tvm for openSUSE:Factory checked in 
at 2026-02-06 19:09:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tvm (Old)
 and      /work/SRC/openSUSE:Factory/.tvm.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tvm"

Fri Feb  6 19:09:04 2026 rev:30 rq:1331569 version:0.22.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/tvm/tvm.changes  2025-09-29 16:36:17.212646190 
+0200
+++ /work/SRC/openSUSE:Factory/.tvm.new.1670/tvm.changes        2026-02-06 
19:14:39.726987356 +0100
@@ -1,0 +2,17 @@
+Fri Feb  6 09:45:41 UTC 2026 - Guillaume Gardet <[email protected]>
+
+- Package libtvm_ffi.so
+
+-------------------------------------------------------------------
+Thu Feb  5 09:32:13 UTC 2026 - Guillaume GARDET <[email protected]>
+
+- Update to 0.22.0:
+  * Release notes: https://github.com/apache/tvm/releases/tag/v0.22.0
+- Re-enable LTO
+- Refresh patch:
+  * lib-finder-python-cmake.patch
+- Drop upstream patch:
+  * 18202.patch
+  * 18204_backported.patch
+
+-------------------------------------------------------------------

Old:
----
  18202.patch
  18204_backported.patch
  tvm-0.21.0.tar.gz

New:
----
  tvm-0.22.0.tar.gz
  tvm-ffi.tar.gz

----------(Old B)----------
  Old:- Drop upstream patch:
  * 18202.patch
  * 18204_backported.patch
  Old:  * 18202.patch
  * 18204_backported.patch
----------(Old E)----------

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

Other differences:
------------------
++++++ tvm.spec ++++++
--- /var/tmp/diff_new_pack.Z1rOD4/_old  2026-02-06 19:14:41.879078019 +0100
+++ /var/tmp/diff_new_pack.Z1rOD4/_new  2026-02-06 19:14:41.883078187 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package tvm
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,6 @@
 #
 
 
-%define _lto_cflags %{nil}
-
-# System dmlc is too old - 
https://github.com/apache/tvm/issues/17459#issuecomment-2429144716
 %bcond_with system_dmlc
 %define dmlc_version 3031e4a
 %define libbacktrace_version 08f7c7e
@@ -41,12 +38,13 @@
 # regular cmake builddir conflicts with the python singlespec
 %global __builddir build_cmake
 Name:           tvm
-Version:        0.21.0
+Version:        0.22.0
 Release:        0
 Summary:        An end-to-end Deep Learning Compiler Stack
 License:        Apache-2.0
 URL:            https://tvm.apache.org/
 Source:         
https://github.com/apache/tvm/archive/refs/tags/v%{version}.tar.gz#/tvm-%{version}.tar.gz
+Source1:        
https://github.com/apache/tvm-ffi/archive/refs/tags/v0.1.0.tar.gz#/tvm-ffi.tar.gz
 # License2: MIT
 Source2:        
https://github.com/dmlc/dmlc-core/archive/%{dmlc_version}.tar.gz#/dmlc-core.tar.gz
 # License3: BSD-3-Clause
@@ -55,15 +53,12 @@
 Patch1:         lib-finder-python-cmake.patch
 # PATCH-FIX-OPENSUSE tvm-disable-vulkan-test-check.patch -- Cannot test in OBS 
despite enabled in library
 Patch2:         tvm-disable-vulkan-test-check.patch
-# PATCH-FIX-UPSTREAM 18202.patch -- https://github.com/apache/tvm/pull/18202
-Patch3:         18202.patch
-# PATCH-FIX-UPSTREAM 18204_backported.patch -- 
https://github.com/apache/tvm/pull/18204
-Patch4:         18204_backported.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module attrs}
 BuildRequires:  %{python_module cloudpickle}
 BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scipy}
@@ -153,10 +148,14 @@
 %setup -q
 %autopatch -p1
 pushd 3rdparty
+tar xf %{SOURCE1} && rmdir tvm-ffi && mv tvm-ffi-* tvm-ffi
+pushd tvm-ffi
+rm -rf 3rdparty && ln -s ../../3rdparty
+popd
 %if %{without system_dmlc}
 tar xf %{SOURCE2} && rmdir dmlc-core && mv dmlc-core-* dmlc-core
 %endif
-tar xf %{SOURCE3} && rmdir libbacktrace && mv libbacktrace-* libbacktrace
+tar xf %{SOURCE3} && mv libbacktrace-* libbacktrace
 popd
 
 # Workaround - 
https://discuss.tvm.ai/t/build-fails-on-tvm-0-6-0-0-6-1-with-gcc10-and-gcc7/7462/5?u=ggardet
@@ -214,7 +213,7 @@
 pushd python
 # Fix rpm runtime dependency rpmlint error replace the shebang in all the 
scripts with %%{_bindir}/python3
 find . -name "*.py" -exec sed -i 's|#!%{_bindir}/env 
python|#!%{_bindir}/python3|' {} ";"
-%python_build
+%pyproject_wheel
 popd
 
 %install
@@ -223,12 +222,10 @@
 rm -f %{buildroot}%{_includedir}/endian.h
 export TVM_LIBRARY_PATH="$(pwd)/%{__builddir}"
 pushd python
-%python_install
+%pyproject_install
 popd
-# Remove /usr/tvm/*.so
-rm -rf %{buildroot}%{_prefix}/tvm
-# Do not package static lib
-rm -f %{buildroot}%{_libdir}/libtvm_ffi_static.a
+# Package libtvm_ffi.so
+cp build_cmake/lib/libtvm_ffi.so %{buildroot}%{_libdir}
 # Remove src,include,3rdparty dirs
 %python_expand rm -rf 
%{buildroot}/%{$python_sitearch}/tvm/{src,include,3rdparty}/
 %if %{without system_dmlc}
@@ -326,7 +323,6 @@
 %{_libdir}/cmake/tvm/*.cmake
 
 %files %{python_files}
-%{python_sitearch}/tvm
-%dir %{python_sitearch}/tvm*.egg-info/
-%{python_sitearch}/tvm*.egg-info/*
+%{python_sitelib}/tvm
+%{python_sitelib}/tvm-*.dist-info/
 

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.Z1rOD4/_old  2026-02-06 19:14:42.131088635 +0100
+++ /var/tmp/diff_new_pack.Z1rOD4/_new  2026-02-06 19:14:42.151089478 +0100
@@ -4,7 +4,7 @@
     <size unit="G">22</size>
   </disk>
   <memory>
-     <size unit="G">7</size>
+     <size unit="G">20</size>
     </memory>
   </hardware>
 </constraints>

++++++ lib-finder-python-cmake.patch ++++++
--- /var/tmp/diff_new_pack.Z1rOD4/_old  2026-02-06 19:14:42.299095713 +0100
+++ /var/tmp/diff_new_pack.Z1rOD4/_new  2026-02-06 19:14:42.327096893 +0100
@@ -1,8 +1,8 @@
---- tvm-0.21.0/python/tvm/libinfo.py.orig      2025-07-07 16:48:21.000000000 
+0200
-+++ tvm-0.21.0/python/tvm/libinfo.py   2025-09-24 09:12:48.885453735 +0200
-@@ -67,8 +67,8 @@ def get_dll_directories():
-     # Pip lib directory
+--- tvm-0.22.0/python/tvm/libinfo.py.orig      2025-10-21 06:27:10.000000000 
+0200
++++ tvm-0.22.0/python/tvm/libinfo.py   2026-02-05 10:30:49.433456028 +0100
+@@ -68,8 +68,8 @@ def get_dll_directories():
      dll_path.append(ffi_dir)
+     dll_path.append(os.path.join(ffi_dir, "lib"))
      # Default cmake build directory
 -    dll_path.append(os.path.join(source_dir, "build"))
 -    dll_path.append(os.path.join(source_dir, "build", "Release"))

++++++ tvm-0.21.0.tar.gz -> tvm-0.22.0.tar.gz ++++++
++++ 214581 lines of diff (skipped)

Reply via email to