Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package highway for openSUSE:Factory checked in at 2025-08-16 20:37:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/highway (Old) and /work/SRC/openSUSE:Factory/.highway.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "highway" Sat Aug 16 20:37:06 2025 rev:18 rq:1299834 version:1.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/highway/highway.changes 2025-02-04 18:11:20.808601545 +0100 +++ /work/SRC/openSUSE:Factory/.highway.new.1085/highway.changes 2025-08-16 20:38:41.706528458 +0200 @@ -1,0 +2,10 @@ +Thu Aug 14 10:28:18 UTC 2025 - Jan Engelhardt <[email protected]> + +- Update to release 1.3.0 + * Add AVX10_2 and Loongson LASX/LSX targets + * Add AVX3_SPR F16, WASM_EMU256 F64 types + * Add Complex number operations, F16/BF16 assignment operators + * Add emulated bf16/f16 Load/StoreInterleaved +- Add avx10_2.patch + +------------------------------------------------------------------- Old: ---- 1.2.0.tar.gz New: ---- 1.3.0.tar.gz _scmsync.obsinfo avx10_2.patch build.specials.obscpio ----------(New B)---------- New: * Add emulated bf16/f16 Load/StoreInterleaved - Add avx10_2.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ highway.spec ++++++ --- /var/tmp/diff_new_pack.0RVRtm/_old 2025-08-16 20:38:42.270551814 +0200 +++ /var/tmp/diff_new_pack.0RVRtm/_new 2025-08-16 20:38:42.270551814 +0200 @@ -17,9 +17,13 @@ %define lname libhwy1 +%ifarch riscv64 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 +%global _lto_cflags %{nil} +%endif Name: highway -Version: 1.2.0 +Version: 1.3.0 Release: 0 Summary: C++ library providing SIMD/vector intrinsics License: Apache-2.0 OR BSD-3-Clause @@ -28,12 +32,8 @@ 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 +Patch2: avx10_2.patch BuildRequires: c++_compiler -%else -BuildRequires: gcc10-c++ -%endif BuildRequires: cmake BuildRequires: memory-constraints BuildRequires: pkg-config @@ -72,20 +72,12 @@ %prep %autosetup -p1 -%ifarch riscv64 -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812 -%global _lto_cflags %{nil} -%endif - %build -export CFLAGS="%optflags -DHWY_COMPILE_ALL_ATTAINABLE" +export CFLAGS="%optflags" %ifarch ppc64 ppc64le CFLAGS="$CFLAGS -maltivec" %endif export CXXFLAGS="$CFLAGS" -%if 0%{?suse_version} < 1550 -export CXX=g++-10 -%endif %limit_build -m 1400 %cmake \ @@ -104,8 +96,7 @@ export CTEST_PARALLEL_LEVEL=2 %ctest --parallel 2 --verbose || : -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files -n %lname %_libdir/libhwy*.so.* ++++++ 1.2.0.tar.gz -> 1.3.0.tar.gz ++++++ ++++ 55659 lines of diff (skipped) ++++++ _scmsync.obsinfo ++++++ mtime: 1755261810 commit: 8da8bc9dc67919770856d3b5215ef95645b3ef90acea49df935e3ad936c841ea url: https://src.opensuse.org/jengelh/highway revision: master ++++++ avx10_2.patch ++++++ >From bd28820d8ca81cafbb80703bb4ed445b4e8483f5 Mon Sep 17 00:00:00 2001 From: Jan Wassenberg <[email protected]> Date: Fri, 15 Aug 2025 02:54:08 -0700 Subject: [PATCH] mark avx10.2 broken prior to gcc 15.2, clang 20. Fixes #2671 References: https://github.com/google/highway/issues/2671 PiperOrigin-RevId: 795407750 --- hwy/detect_targets.h | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/hwy/detect_targets.h b/hwy/detect_targets.h index 3fe21acf..5671253e 100644 --- a/hwy/detect_targets.h +++ b/hwy/detect_targets.h @@ -194,6 +194,15 @@ #endif #endif // HWY_BROKEN_MSVC +#ifndef HWY_BROKEN_AVX10_2 // allow override +// AVX10_2 requires clang >= 20.1 or gcc >= 15.2 with binutils 2.44. +#if (HWY_COMPILER_CLANG < 2001) && (HWY_COMPILER_GCC_ACTUAL < 1502) +#define HWY_BROKEN_AVX10_2 HWY_AVX10_2 +#else +#define HWY_BROKEN_AVX10_2 0 +#endif +#endif // HWY_BROKEN_AVX10_2 + #ifndef HWY_BROKEN_AVX3_DL_ZEN4 // allow override // AVX3_DL and AVX3_ZEN4 require clang >= 7 (ensured above), gcc >= 8.1 or ICC // 2021. @@ -360,12 +369,12 @@ // Allow the user to override this without any guarantee of success. #ifndef HWY_BROKEN_TARGETS -#define HWY_BROKEN_TARGETS \ - (HWY_BROKEN_CLANG6 | HWY_BROKEN_32BIT | HWY_BROKEN_MSVC | \ - HWY_BROKEN_AVX3_DL_ZEN4 | HWY_BROKEN_AVX3_SPR | \ - HWY_BROKEN_ARM7_BIG_ENDIAN | HWY_BROKEN_ARM7_WITHOUT_VFP4 | \ - HWY_BROKEN_NEON_BF16 | HWY_BROKEN_SVE | HWY_BROKEN_SVE2 | \ - HWY_BROKEN_PPC10 | HWY_BROKEN_PPC_32BIT | HWY_BROKEN_RVV | \ +#define HWY_BROKEN_TARGETS \ + (HWY_BROKEN_CLANG6 | HWY_BROKEN_32BIT | HWY_BROKEN_MSVC | \ + HWY_BROKEN_AVX10_2 | HWY_BROKEN_AVX3_DL_ZEN4 | HWY_BROKEN_AVX3_SPR | \ + HWY_BROKEN_ARM7_BIG_ENDIAN | HWY_BROKEN_ARM7_WITHOUT_VFP4 | \ + HWY_BROKEN_NEON_BF16 | HWY_BROKEN_SVE | HWY_BROKEN_SVE2 | \ + HWY_BROKEN_PPC10 | HWY_BROKEN_PPC_32BIT | HWY_BROKEN_RVV | \ HWY_BROKEN_LOONGARCH | HWY_BROKEN_Z14) #endif // HWY_BROKEN_TARGETS @@ -642,8 +651,7 @@ #define HWY_BASELINE_AVX3_SPR 0 #endif -#if HWY_BASELINE_AVX3_SPR != 0 && defined(__AVX10_2__) && \ - (HWY_COMPILER_GCC_ACTUAL >= 1500 || HWY_COMPILER_CLANG >= 2001) +#if HWY_BASELINE_AVX3_SPR != 0 && defined(__AVX10_2__) #define HWY_BASELINE_AVX10_2 HWY_AVX10_2 #else #define HWY_BASELINE_AVX10_2 0 -- 2.50.1 ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-08-15 15:04:10.000000000 +0200 @@ -0,0 +1 @@ +.osc
