diff --git a/.fmf/version b/.fmf/version deleted file mode 100644 index d00491f..0000000 --- a/.fmf/version +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/1091.patch b/1091.patch deleted file mode 100644 index 4a281c4..0000000 --- a/1091.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 49bcf64aed77285962352786d6a94e2bef57f8e0 Mon Sep 17 00:00:00 2001 -From: serge-sans-paille -Date: Tue, 4 Mar 2025 20:42:44 +0100 -Subject: [PATCH] Fix copy-pasted headers - ---- - include/xsimd/arch/xsimd_avx512ifma.hpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/include/xsimd/arch/xsimd_avx512ifma.hpp b/include/xsimd/arch/xsimd_avx512ifma.hpp -index df382881b..206319348 100644 ---- a/include/xsimd/arch/xsimd_avx512ifma.hpp -+++ b/include/xsimd/arch/xsimd_avx512ifma.hpp -@@ -9,12 +9,12 @@ - * The full license is in the file LICENSE, distributed with this software. * - ****************************************************************************/ - --#ifndef XSIMD_AVX512VBMI_HPP --#define XSIMD_AVX512VBMI_HPP -+#ifndef XSIMD_AVX512IFMA_HPP -+#define XSIMD_AVX512IFMA_HPP - - #include - #include - --#include "../types/xsimd_avx512vbmi_register.hpp" -+#include "../types/xsimd_avx512ifma_register.hpp" - - #endif diff --git a/415.patch b/415.patch new file mode 100644 index 0000000..8173ea7 --- /dev/null +++ b/415.patch @@ -0,0 +1,22 @@ +From 20bfc0d2b8f70995877e7606a9fd8f7c839ccc3b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= +Date: Thu, 18 Feb 2021 10:58:08 +0100 +Subject: [PATCH] Fix missing include for gcc-11 + +Required for std::numeric_limits +--- + include/xsimd/types/xsimd_complex_base.hpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/xsimd/types/xsimd_complex_base.hpp b/include/xsimd/types/xsimd_complex_base.hpp +index 80beda37..e3545047 100644 +--- a/include/xsimd/types/xsimd_complex_base.hpp ++++ b/include/xsimd/types/xsimd_complex_base.hpp +@@ -13,6 +13,7 @@ + + #include + #include ++#include + #include + + #ifdef XSIMD_ENABLE_XTL_COMPLEX diff --git a/changelog b/changelog deleted file mode 100644 index 1a599e7..0000000 --- a/changelog +++ /dev/null @@ -1,69 +0,0 @@ -* Sat Jan 21 2023 Fedora Release Engineering - 10.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Dec 2 2022 sguelton@redhat.com - 10.0.0-1 -- Update to 10.0.0 - -* Tue Aug 30 2022 sguelton@redhat.com - 9.0.1-1 -- Update to 9.0.1 -- Fixes: rhbz#2120851 - -* Sat Jul 23 2022 Fedora Release Engineering - 8.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed May 11 2022 sguelton@redhat.com - 8.1.0-1 -- Update to 8.1.0 - -* 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 diff --git a/plan.fmf b/plan.fmf deleted file mode 100644 index cb57a73..0000000 --- a/plan.fmf +++ /dev/null @@ -1,19 +0,0 @@ -execute: - how: tmt - -discover: - - name: same_repo - how: shell - tests: - - name: pythran-compat - path: /tests/pythran-compat - test: ./runtest.sh -prepare: - - name: Install dependencies - how: install - package: - - dnf - - pythran - - name: Update packages - how: shell - script: dnf upgrade -y diff --git a/sources b/sources index 3b6bb12..b350787 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xsimd-13.2.0.tar.gz) = 3825626547b0dd9b58f306bc89e9b3bc6dd778ad3811b7828e50fc16ae102574255b53f2b0714995de2bd6f9eb7b2c5d266a1a24fbfdf5420dc5e94d7dcbb522 +SHA512 (xsimd-9.0.1.tar.gz) = ed56287f608ccdf5bc5d5fc2918e313e7c4cecdd9ef2c9993a72ea900d9ff662c57ac5326c7a809eb11505c6f39d4599f3f161b97b6e03c65783b824b8d700d2 diff --git a/tests/pythran-compat/runtest.sh b/tests/pythran-compat/runtest.sh old mode 100755 new mode 100644 diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..f78e101 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - pythran + tests: + - pythran-compat diff --git a/xsimd.spec b/xsimd.spec index abacf27..c9bc1a9 100644 --- a/xsimd.spec +++ b/xsimd.spec @@ -1,19 +1,33 @@ Name: xsimd -Version: 13.2.0 -Release: %autorelease -Summary: C++ wrappers for SIMD intrinsic -License: BSD-3-Clause +Version: 9.0.1 +Release: 1%{?dist} +Summary: C++ wrappers for SIMD intrinsics +License: BSD URL: https://xsimd.readthedocs.io/ %global github https://github.com/xtensor-stack/xsimd -Source: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: doctest-devel +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 + +%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} +# 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 \ has been available for many years. SIMD instructions perform a single operation \ @@ -32,12 +46,9 @@ of common mathematical functions operating on batches. \ Summary: %{summary} Provides: %{name} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} -BuildArch: noarch - -Patch0: https://github.com/xtensor-stack/xsimd/pull/1091.patch - %description devel %_description + %prep %autosetup -p1 @@ -58,8 +69,70 @@ Patch0: https://github.com/xtensor-stack/xsimd/pull/1091.patch %doc README.md %license LICENSE %{_includedir}/%{name}/ -%{_datadir}/cmake/%{name}/ -%{_datadir}/pkgconfig/%{name}.pc +%{_libdir}/cmake/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc %changelog -%autochangelog +* Tue Aug 30 2022 sguelton@redhat.com - 9.0.1-1 +- Update to 9.0.1 +- Fixes: rhbz#2120851 + +* Sat Jul 23 2022 Fedora Release Engineering - 8.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed May 11 2022 sguelton@redhat.com - 8.1.0-1 +- Update to 8.1.0 + +* 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