Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tensorflow-lite for openSUSE:Factory
checked in at 2023-06-05 18:08:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tensorflow-lite (Old)
and /work/SRC/openSUSE:Factory/.tensorflow-lite.new.15902 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tensorflow-lite"
Mon Jun 5 18:08:26 2023 rev:3 rq:1090946 version:2.10.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/tensorflow-lite/tensorflow-lite.changes
2022-09-21 14:43:55.357995006 +0200
+++
/work/SRC/openSUSE:Factory/.tensorflow-lite.new.15902/tensorflow-lite.changes
2023-06-05 18:08:38.119852116 +0200
@@ -1,0 +2,5 @@
+Mon Jun 5 14:52:25 UTC 2023 - Guillaume GARDET <[email protected]>
+
+- Use gcc12 to build since build fails with default gcc (13)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tensorflow-lite.spec ++++++
--- /var/tmp/diff_new_pack.eNQeCV/_old 2023-06-05 18:08:39.955862959 +0200
+++ /var/tmp/diff_new_pack.eNQeCV/_new 2023-06-05 18:08:39.959862982 +0200
@@ -71,8 +71,9 @@
Patch0: tensorflow-lite-cmake-find-python.patch
BuildRequires: cmake
BuildRequires: fdupes
-BuildRequires: gcc-c++
-BuildRequires: gcc-fortran
+BuildRequires: gcc12
+BuildRequires: gcc12-c++
+BuildRequires: gcc12-fortran
BuildRequires: git
# We use some macros here but not singlespec
BuildRequires: python-rpm-macros
@@ -153,6 +154,7 @@
# --- Build tensorflow-lite as part of the minimal executable ---
# -Werror=return-type fails in xnnpack
%global optflags %(echo %{optflags} | sed s/-Werror=return-type//)
+
pushd tflite-build
%cmake ../../tensorflow/lite/examples/minimal \
-DBUILD_STATIC_LIBS:BOOL=ON \
@@ -176,6 +178,8 @@
%ifarch %arm aarch64
-DTFLITE_ENABLE_XNNPACK:BOOL=OFF \
%endif
+ -DCMAKE_C_COMPILER=gcc-12 \
+ -DCMAKE_CXX_COMPILER=g++-12 \
%{nil}
%cmake_build all _pywrap_tensorflow_interpreter_wrapper