The package rpms/highway.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/highway.git/commit/?id=08d677f380964... https://src.fedoraproject.org/cgit/rpms/highway.git/commit/?id=b69cd8a7a3de2... https://src.fedoraproject.org/cgit/rpms/highway.git/commit/?id=eda0faf0cb032....
Change: -%ifnarch s390x +%ifnarch s390x +%ifarch aarch64
Thanks.
Full change: ============
commit 08d677f380964ad190db255b55146ba91c76dabc Author: Robert-André Mauchin zebob.m@gmail.com Date: Sun Sep 18 13:38:51 2022 +0200
Update to 1.0.1
Close: rhbz#2111886
diff --git a/.gitignore b/.gitignore index 26543d8..6b2212a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /highway-0.14.1.tar.gz /highway-0.15.0.tar.gz /highway-0.17.0.tar.gz +/highway-1.0.1.tar.gz diff --git a/highway.spec b/highway.spec index 08ec58f..93600f0 100644 --- a/highway.spec +++ b/highway.spec @@ -2,13 +2,8 @@ Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e. applying the same operation to 'lanes'.}
-# https://github.com/google/highway/issues/776 -%ifarch aarch64 -%global toolchain clang -%endif - Name: highway -Version: 0.17.0 +Version: 1.0.1 Release: %autorelease Summary: Efficient and performance-portable SIMD
@@ -17,12 +12,9 @@ URL: https://github.com/google/highway Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake -%ifarch aarch64 -BuildRequires: clang -%else BuildRequires: gcc-c++ -%endif BuildRequires: gtest-devel +BuildRequires: libatomic
%description %common_description @@ -56,19 +48,16 @@ Documentation for Highway. %cmake_install
%check -# https://github.com/google/highway/issues/775 -%ifnarch s390x %ctest -%endif
%files %license LICENSE -%{_libdir}//libhwy.so.0 -%{_libdir}//libhwy.so.%{version} -%{_libdir}//libhwy_contrib.so.0 -%{_libdir}//libhwy_contrib.so.%{version} -%{_libdir}//libhwy_test.so.0 -%{_libdir}//libhwy_test.so.%{version} +%{_libdir}/libhwy.so.1 +%{_libdir}/libhwy.so.%{version} +%{_libdir}/libhwy_contrib.so.1 +%{_libdir}/libhwy_contrib.so.%{version} +%{_libdir}/libhwy_test.so.1 +%{_libdir}/libhwy_test.so.%{version}
%files devel %license LICENSE diff --git a/sources b/sources index 27c3d8e..b6daac7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (highway-0.17.0.tar.gz) = 7e55724c844a09a07cb981a7d8e913dcc5491e07d14ff3e7783a69060b0c470e7d5adc4f5dbeea526b3e109eea8cc9e80605d6b8d2da1b794382e56fd534ba06 +SHA512 (highway-1.0.1.tar.gz) = 35b6287579b6248966b0d36fda1522fd6338523934b079e94e857f9de08354f20b99739c99d53249a3a6c583519da0e0ac5e06dfbe6e3a89262f627c75b59dd8
commit ed0a45192a193b86f240674a2512769eccae18e7 Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Jul 21 13:39:51 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit b69cd8a7a3de2c8b4a36716e65b640a7c4ce7241 Author: Robert-André Mauchin zebob.m@gmail.com Date: Sun Jun 19 13:14:25 2022 +0200
Update to 0.17.0 Close: rhbz#2056027
diff --git a/.gitignore b/.gitignore index 0e261fa..26543d8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /highway-0.12.2.tar.gz /highway-0.14.1.tar.gz /highway-0.15.0.tar.gz +/highway-0.17.0.tar.gz diff --git a/highway.spec b/highway.spec index 19ab61f..08ec58f 100644 --- a/highway.spec +++ b/highway.spec @@ -1,12 +1,14 @@ -# static library only -%global debug_package %nil - %global common_description %{expand: Highway is a C++ library for SIMD (Single Instruction, Multiple Data), i.e. applying the same operation to 'lanes'.}
+# https://github.com/google/highway/issues/776 +%ifarch aarch64 +%global toolchain clang +%endif + Name: highway -Version: 0.15.0 +Version: 0.17.0 Release: %autorelease Summary: Efficient and performance-portable SIMD
@@ -15,7 +17,11 @@ URL: https://github.com/google/highway Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake +%ifarch aarch64 +BuildRequires: clang +%else BuildRequires: gcc-c++ +%endif BuildRequires: gtest-devel
%description @@ -23,7 +29,7 @@ BuildRequires: gtest-devel
%package devel Summary: Development files for Highway -Provides: highway-static = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %{common_description} @@ -42,11 +48,6 @@ Documentation for Highway. %prep %autosetup -p1 -n %{name}-%{version}
-# https://github.com/google/highway/issues/398#issuecomment-1018831172 -%ifarch aarch64 -sed -i "/func(int16_t());/d ; /func(uint16_t());/d" hwy/tests/test_util-inl.h -%endif - %build %cmake -DHWY_SYSTEM_GTEST:BOOL=ON %cmake_build @@ -55,14 +56,26 @@ sed -i "/func(int16_t());/d ; /func(uint16_t());/d" hwy/tests/test_util-inl.h %cmake_install
%check +# https://github.com/google/highway/issues/775 +%ifnarch s390x %ctest +%endif + +%files +%license LICENSE +%{_libdir}//libhwy.so.0 +%{_libdir}//libhwy.so.%{version} +%{_libdir}//libhwy_contrib.so.0 +%{_libdir}//libhwy_contrib.so.%{version} +%{_libdir}//libhwy_test.so.0 +%{_libdir}//libhwy_test.so.%{version}
%files devel %license LICENSE %{_includedir}/hwy/ -%{_libdir}/libhwy.a -%{_libdir}/libhwy_contrib.a -%{_libdir}/libhwy_test.a +%{_libdir}/libhwy.so +%{_libdir}/libhwy_contrib.so +%{_libdir}/libhwy_test.so %{_libdir}/pkgconfig/libhwy.pc %{_libdir}/pkgconfig/libhwy-contrib.pc %{_libdir}/pkgconfig/libhwy-test.pc diff --git a/sources b/sources index cceef03..27c3d8e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (highway-0.15.0.tar.gz) = ed07e855721f87ea67d762b30e001643a76bd16d70372415023c8e6f1a43c58759a14a638e8eb20566863d8358d994153bf7a660fcf604e808adfea5f938a013 +SHA512 (highway-0.17.0.tar.gz) = 7e55724c844a09a07cb981a7d8e913dcc5491e07d14ff3e7783a69060b0c470e7d5adc4f5dbeea526b3e109eea8cc9e80605d6b8d2da1b794382e56fd534ba06
commit eda0faf0cb0329aff0b391aa9bee46eef16a34eb Author: Robert-André Mauchin zebob.m@gmail.com Date: Sat Jan 22 00:05:37 2022 +0100
Temporary fix for bug 398
diff --git a/highway.spec b/highway.spec index d515786..19ab61f 100644 --- a/highway.spec +++ b/highway.spec @@ -42,6 +42,11 @@ Documentation for Highway. %prep %autosetup -p1 -n %{name}-%{version}
+# https://github.com/google/highway/issues/398#issuecomment-1018831172 +%ifarch aarch64 +sed -i "/func(int16_t());/d ; /func(uint16_t());/d" hwy/tests/test_util-inl.h +%endif + %build %cmake -DHWY_SYSTEM_GTEST:BOOL=ON %cmake_build
commit e14e16d4d88afc28958466384ba7b6cee43a1ff2 Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Jan 20 12:21:47 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit f26b60ec29a9b387b66d903ef744c9bfb1fa6982 Author: Robert-André Mauchin zebob.m@gmail.com Date: Fri Dec 17 16:13:58 2021 +0100
Remove unused patch
diff --git a/344.patch b/344.patch deleted file mode 100644 index 209d7e7..0000000 --- a/344.patch +++ /dev/null @@ -1,24 +0,0 @@ -From a98771f469cc02145fd315b9d801847a43b9348f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= - 30413512+eclipseo@users.noreply.github.com -Date: Wed, 18 Aug 2021 20:51:04 +0200 -Subject: [PATCH] Cast __ppc_get_timebase_freq to double - -Fix #343 ---- - hwy/nanobenchmark.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hwy/nanobenchmark.cc b/hwy/nanobenchmark.cc -index a932e10..9a2e54c 100644 ---- a/hwy/nanobenchmark.cc -+++ b/hwy/nanobenchmark.cc -@@ -400,7 +400,7 @@ double NominalClockRate() { - - double InvariantTicksPerSecond() { - #if HWY_ARCH_PPC -- return __ppc_get_timebase_freq(); -+ return double(__ppc_get_timebase_freq()); - #elif HWY_ARCH_X86 - // We assume the TSC is invariant; it is on all recent Intel/AMD CPUs. - return NominalClockRate();
arch-excludes@lists.fedoraproject.org