Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package armnn for openSUSE:Factory checked 
in at 2024-09-06 17:19:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/armnn (Old)
 and      /work/SRC/openSUSE:Factory/.armnn.new.10096 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "armnn"

Fri Sep  6 17:19:06 2024 rev:12 rq:1199228 version:24.08

Changes:
--------
--- /work/SRC/openSUSE:Factory/armnn/armnn.changes      2024-09-04 
13:23:21.482588083 +0200
+++ /work/SRC/openSUSE:Factory/.armnn.new.10096/armnn.changes   2024-09-06 
17:19:49.191069742 +0200
@@ -1,0 +2,6 @@
+Fri Sep  6 13:29:47 UTC 2024 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Add patch to fix build on armv7:
+  * armnn-fix-armv7.patch
+
+-------------------------------------------------------------------

New:
----
  armnn-fix-armv7.patch

BETA DEBUG BEGIN:
  New:- Add patch to fix build on armv7:
  * armnn-fix-armv7.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ armnn.spec ++++++
--- /var/tmp/diff_new_pack.WA7WTH/_old  2024-09-06 17:19:49.787094510 +0200
+++ /var/tmp/diff_new_pack.WA7WTH/_new  2024-09-06 17:19:49.787094510 +0200
@@ -79,6 +79,8 @@
 URL:            
https://developer.arm.com/products/processors/machine-learning/arm-nn
 Source0:        
https://github.com/ARM-software/armnn/archive/v%{version}.tar.gz#/armnn-%{version}.tar.gz
 Source1:        armnn-rpmlintrc
+# PATCH-FIX-UPSTREAM - https://github.com/ARM-software/armnn/issues/786
+Patch1:         armnn-fix-armv7.patch
 # PATCHES to add downstream ArmnnExamples binary - 
https://layers.openembedded.org/layerindex/recipe/87610/
 Patch200:       0003-add-more-test-command-line-arguments.patch
 Patch201:       0005-add-armnn-mobilenet-test-example.patch
@@ -372,6 +374,7 @@
 
 %prep
 %setup -q -n armnn-%{version}
+%patch -P 1 -p1
 %if %{with armnn_extra_tests}
 %patch -P 200 -p1
 %patch -P 201 -p1

++++++ armnn-fix-armv7.patch ++++++
--- armnn-24.08/include/armnn/Numpy.hpp.orig    2024-09-06 11:05:16.800066800 
+0200
+++ armnn-24.08/include/armnn/Numpy.hpp 2024-09-06 11:05:58.717592900 +0200
@@ -157,7 +157,7 @@ namespace armnnNumpy
     inline void CreateHeader(std::ifstream& ifStream, HeaderInfo& headerInfo, 
Header& header)
     {
         char stringBuffer[headerInfo.m_HeaderLen];
-        ifStream.read(stringBuffer, headerInfo.m_HeaderLen);
+        ifStream.read(stringBuffer, 
static_cast<std::streamsize>(headerInfo.m_HeaderLen));
 
         header.m_HeaderString = std::string(stringBuffer, 
headerInfo.m_HeaderLen);
         // Remove new line character at the end of the string
@@ -403,4 +403,4 @@ namespace armnnNumpy
     }
 }
 
-#endif // NUMPY_HPP
\ No newline at end of file
+#endif // NUMPY_HPP

Reply via email to