From 9455eb4ec8ba7ae6380ec04fbe39a55247873b6c Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 16 May 2022 11:09:53 -0400 Subject: [PATCH] Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild --- sources | 2 +- xsimd.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 73 insertions(+), 12 deletions(-) diff --git a/sources b/sources index 6586919..b5dc01c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xsimd-7.2.3.tar.gz) = fb34eeb585f6820499734f10f03a4efd0d9a9b4be56f9bee21f3564eb92be56e7abe7682e476fafaff4733939f33f91cb4ab9209140b19f7b740538853433532 +SHA512 (xsimd-8.0.5.tar.gz) = 165ca307bcaccc226dd518562a9269aa9fc44c70fab299ea0827d7a0a9cf58ec493b381fcf2c4d9d1f6edfda8fa309643c63b17fb20d9de78a4be19eb70e30b3 diff --git a/xsimd.spec b/xsimd.spec index e66f98d..6aea829 100644 --- a/xsimd.spec +++ b/xsimd.spec @@ -1,21 +1,27 @@ Name: xsimd -Version: 7.2.3 -Release: 1%{?dist} +Version: 8.0.5 +Release: 2%{?dist} Summary: C++ wrappers for SIMD intrinsics License: BSD URL: https://xsimd.readthedocs.io/ -%global github https://github.com/QuantStack/xsimd +%global github https://github.com/xtensor-stack/xsimd Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gtest-devel +BuildRequires: gmock-devel + +%ifarch %{arm} +# Only used for testing, as it's a header-only package. +%global optflags %(echo %{optflags} -mfpu=neon) +%endif # there is no actual arched content - this is a header only library %global debug_package %{nil} -# https://github.com/QuantStack/xsimd/issues/289 -ExcludeArch: armv7hl ppc64le s390x +# Get Fedora 33++ behavior on anything older +%undefine __cmake_in_source_build %global _description \ SIMD (Single Instruction, Multiple Data) is a feature of microprocessors that \ @@ -39,24 +45,79 @@ Provides: %{name}-static = %{version}-%{release} %prep -%autosetup +%autosetup -p1 %build -%cmake -DBUILD_TESTS=ON . -%make_build +%cmake -DBUILD_TESTS=ON +%cmake_build %install -%make_install +%cmake_install -#check -#make_build xtest +%check +# Explicitly not supported upstream for simd mode. Still valuable for scalar mode layer. +%ifnarch ppc64le s390x +%cmake_build -- xtest +%endif %files devel %doc README.md %license LICENSE %{_includedir}/%{name}/ %{_libdir}/cmake/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 8.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Dec 08 2021 Miro Hrončok - 8.0.5-1 +- Update to 8.0.5 +- Fixes rhbz#1997274 + +* Wed Dec 08 2021 Miro Hrončok - 8.0.4-1 +- Update to 8.0.4 + +* Mon Aug 09 2021 Miro Hrončok - 7.6.0-1 +- Update to 7.6.0 +- Fixes rhbz#1988647 + +* Fri Jul 23 2021 Fedora Release Engineering - 7.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Apr 23 2021 sguelton@redhat.com - 7.5.0-1 +- Update to latest version + +* Tue Apr 6 2021 sguelton@redhat.com - 7.4.10-1 +- Update to latest version + +* Thu Jan 28 2021 Fedora Release Engineering - 7.4.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Oct 26 2020 sguelton@redhat.com - 7.4.9-1 +- Update to latest version + +* Sat Oct 17 2020 sguelton@redhat.com - 7.4.8-2 +- Fix missing #include for gcc-11 + +* Sat Oct 3 2020 sguelton@redhat.com - 7.4.8-1 +- Update to latest version + +* Wed Jul 29 2020 Fedora Release Engineering - 7.4.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 16 2020 sguelton@redhat.com - 7.4.6-1 +- Update to latest version + +* Sat Jul 27 2019 Fedora Release Engineering - 7.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 04 2019 Miro Hrončok - 7.2.3-3 +- Allow all architectures + +* Wed Jul 03 2019 Miro Hrončok - 7.2.3-2 +- Apply upstream workaround for armv7 +- Reenable tests (commented out by mistake) + * Fri Jun 28 2019 Miro Hrončok - 7.2.3-1 - Initial package