Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package highway for openSUSE:Factory checked 
in at 2023-05-11 12:31:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/highway (Old)
 and      /work/SRC/openSUSE:Factory/.highway.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "highway"

Thu May 11 12:31:57 2023 rev:10 rq:1086050 version:1.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/highway/highway.changes  2023-03-19 
16:16:46.207378022 +0100
+++ /work/SRC/openSUSE:Factory/.highway.new.1533/highway.changes        
2023-05-11 12:32:02.678277982 +0200
@@ -1,0 +2,5 @@
+Wed May 10 10:35:45 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Add no-forced-inline.diff [boo#1211093]
+
+-------------------------------------------------------------------

New:
----
  no-forced-inline.diff

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

Other differences:
------------------
++++++ highway.spec ++++++
--- /var/tmp/diff_new_pack.SnshmL/_old  2023-05-11 12:32:03.178280439 +0200
+++ /var/tmp/diff_new_pack.SnshmL/_new  2023-05-11 12:32:03.182280459 +0200
@@ -27,6 +27,7 @@
 URL:            https://github.com/google/highway
 Source:         
https://github.com/google/highway/archive/refs/tags/%version.tar.gz
 Source1:        baselibs.conf
+Patch1:         no-forced-inline.diff
 # https://github.com/google/highway/issues/776
 %if 0%{?suse_version} > 1550
 BuildRequires:  c++_compiler

++++++ no-forced-inline.diff ++++++
From: Jan Engelhardt <jeng...@inai.de>
Date: 2023-05-10 12:35:31.076671893 +0200
References: https://bugzilla.suse.com/1211093

gcc on ppc64le says:

[  265s] /home/abuild/rpmbuild/BUILD/highway-1.0.4/hwy/base.h:1029:14: error: 
inlining failed in call to 'always_inline' 
'hwy::PreventElision<int&>(int&)void': target specific option mismatch
[  265s]  1029 | HWY_API void PreventElision(T&& output) {

Given always_inline is not mandatory but conditional on __OPTIMIZE__, stop 
making it
mandatory for the __OPTIMIZE__ case too.

---
 hwy/base.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: highway-1.0.4/hwy/base.h
===================================================================
--- highway-1.0.4.orig/hwy/base.h
+++ highway-1.0.4/hwy/base.h
@@ -65,7 +65,7 @@
 // force inlining without optimization enabled creates very inefficient code
 // that can cause compiler timeout
 #ifdef __OPTIMIZE__
-#define HWY_INLINE inline __attribute__((always_inline))
+#define HWY_INLINE inline
 #else
 #define HWY_INLINE inline
 #endif

Reply via email to