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/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/gating.yaml b/gating.yaml deleted file mode 100644 index f2c6454..0000000 --- a/gating.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_testing -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} 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..3b5bec0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xsimd-13.2.0.tar.gz) = 3825626547b0dd9b58f306bc89e9b3bc6dd778ad3811b7828e50fc16ae102574255b53f2b0714995de2bd6f9eb7b2c5d266a1a24fbfdf5420dc5e94d7dcbb522 +SHA512 (xsimd-7.4.6.tar.gz) = 70d41848ce63bcf56072349ff587fe93806bbe66b8c50d33f732565905e13daf2b9238402f46f5c0346c21378d39215e3408e7d71274e9009bcaecc53212404e diff --git a/tests/pythran-compat/minimal.py b/tests/pythran-compat/minimal.py deleted file mode 100644 index 14d1e88..0000000 --- a/tests/pythran-compat/minimal.py +++ /dev/null @@ -1,5 +0,0 @@ -#pythran export minimal(float64[]) -import numpy as np - -def minimal(x): - return np.sum(1. + x) diff --git a/tests/pythran-compat/runtest.sh b/tests/pythran-compat/runtest.sh deleted file mode 100755 index 5cb1fd5..0000000 --- a/tests/pythran-compat/runtest.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# Make sure xsimd is still compatible with pythran -pythran minimal.py -DUSE_XSIMD -march=native diff --git a/xsimd.spec b/xsimd.spec index abacf27..7a61f8e 100644 --- a/xsimd.spec +++ b/xsimd.spec @@ -1,15 +1,20 @@ Name: xsimd -Version: 13.2.0 -Release: %autorelease -Summary: C++ wrappers for SIMD intrinsic -License: BSD-3-Clause +Version: 7.4.6 +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 +%global github https://github.com/QuantStack/xsimd +Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: doctest-devel +BuildRequires: gtest-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} @@ -32,34 +37,46 @@ 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 %build -%cmake -DBUILD_TESTS=ON -%cmake_build +%cmake -DBUILD_TESTS=ON . + +%make_build %install -%cmake_install +%make_install %check # Explicitly not supported upstream for simd mode. Still valuable for scalar mode layer. %ifnarch ppc64le s390x -%cmake_build -- xtest +%make_build xtest %endif %files devel %doc README.md %license LICENSE %{_includedir}/%{name}/ -%{_datadir}/cmake/%{name}/ -%{_datadir}/pkgconfig/%{name}.pc +%{_libdir}/cmake/%{name}/ +%{_libdir}/pkgconfig/%{name}.pc %changelog -%autochangelog +* 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