diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/1091.patch b/1091.patch new file mode 100644 index 0000000..4a281c4 --- /dev/null +++ b/1091.patch @@ -0,0 +1,29 @@ +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 deleted file mode 100644 index 8173ea7..0000000 --- a/415.patch +++ /dev/null @@ -1,22 +0,0 @@ -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 new file mode 100644 index 0000000..1a599e7 --- /dev/null +++ b/changelog @@ -0,0 +1,69 @@ +* 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 new file mode 100644 index 0000000..cb57a73 --- /dev/null +++ b/plan.fmf @@ -0,0 +1,19 @@ +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 b350787..3b6bb12 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xsimd-9.0.1.tar.gz) = ed56287f608ccdf5bc5d5fc2918e313e7c4cecdd9ef2c9993a72ea900d9ff662c57ac5326c7a809eb11505c6f39d4599f3f161b97b6e03c65783b824b8d700d2 +SHA512 (xsimd-13.2.0.tar.gz) = 3825626547b0dd9b58f306bc89e9b3bc6dd778ad3811b7828e50fc16ae102574255b53f2b0714995de2bd6f9eb7b2c5d266a1a24fbfdf5420dc5e94d7dcbb522 diff --git a/tests/pythran-compat/runtest.sh b/tests/pythran-compat/runtest.sh old mode 100644 new mode 100755 diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index f78e101..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,9 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - required_packages: - - pythran - tests: - - pythran-compat diff --git a/xsimd.spec b/xsimd.spec index c9bc1a9..abacf27 100644 --- a/xsimd.spec +++ b/xsimd.spec @@ -1,33 +1,19 @@ Name: xsimd -Version: 9.0.1 -Release: 1%{?dist} -Summary: C++ wrappers for SIMD intrinsics -License: BSD +Version: 13.2.0 +Release: %autorelease +Summary: C++ wrappers for SIMD intrinsic +License: BSD-3-Clause URL: https://xsimd.readthedocs.io/ %global github https://github.com/xtensor-stack/xsimd -Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Source: %{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 - -%ifarch %{arm} -# Only used for testing, as it's a header-only package. -%global optflags %(echo %{optflags} -mfpu=neon) -%endif +BuildRequires: doctest-devel # 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 \ @@ -46,8 +32,11 @@ of common mathematical functions operating on batches. \ Summary: %{summary} Provides: %{name} = %{version}-%{release} Provides: %{name}-static = %{version}-%{release} -%description devel %_description +BuildArch: noarch +Patch0: https://github.com/xtensor-stack/xsimd/pull/1091.patch + +%description devel %_description %prep %autosetup -p1 @@ -69,70 +58,8 @@ Provides: %{name}-static = %{version}-%{release} %doc README.md %license LICENSE %{_includedir}/%{name}/ -%{_libdir}/cmake/%{name}/ -%{_libdir}/pkgconfig/%{name}.pc +%{_datadir}/cmake/%{name}/ +%{_datadir}/pkgconfig/%{name}.pc %changelog -* 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 +%autochangelog