Compare commits

..

No commits in common. "rawhide" and "f32" have entirely different histories.

9 changed files with 36 additions and 157 deletions

View file

@ -1 +0,0 @@
1

View file

@ -1,29 +0,0 @@
From 49bcf64aed77285962352786d6a94e2bef57f8e0 Mon Sep 17 00:00:00 2001
From: serge-sans-paille <serge.guelton@telecom-bretagne.eu>
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 <array>
#include <type_traits>
-#include "../types/xsimd_avx512vbmi_register.hpp"
+#include "../types/xsimd_avx512ifma_register.hpp"
#endif

View file

@ -1,69 +0,0 @@
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 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 <releng@fedoraproject.org> - 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 <releng@fedoraproject.org> - 8.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Dec 08 2021 Miro Hrončok <mhroncok@redhat.com> - 8.0.5-1
- Update to 8.0.5
- Fixes rhbz#1997274
* Wed Dec 08 2021 Miro Hrončok <mhroncok@redhat.com> - 8.0.4-1
- Update to 8.0.4
* Mon Aug 09 2021 Miro Hrončok <mhroncok@redhat.com> - 7.6.0-1
- Update to 7.6.0
- Fixes rhbz#1988647
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 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 <releng@fedoraproject.org> - 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 <releng@fedoraproject.org> - 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 <releng@fedoraproject.org> - 7.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 04 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-3
- Allow all architectures
* Wed Jul 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-2
- Apply upstream workaround for armv7
- Reenable tests (commented out by mistake)
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-1
- Initial package

View file

@ -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}

View file

@ -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

View file

@ -1 +1 @@
SHA512 (xsimd-13.2.0.tar.gz) = 3825626547b0dd9b58f306bc89e9b3bc6dd778ad3811b7828e50fc16ae102574255b53f2b0714995de2bd6f9eb7b2c5d266a1a24fbfdf5420dc5e94d7dcbb522
SHA512 (xsimd-7.4.6.tar.gz) = 70d41848ce63bcf56072349ff587fe93806bbe66b8c50d33f732565905e13daf2b9238402f46f5c0346c21378d39215e3408e7d71274e9009bcaecc53212404e

View file

@ -1,5 +0,0 @@
#pythran export minimal(float64[])
import numpy as np
def minimal(x):
return np.sum(1. + x)

View file

@ -1,3 +0,0 @@
#!/bin/sh
# Make sure xsimd is still compatible with pythran
pythran minimal.py -DUSE_XSIMD -march=native

View file

@ -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 <releng@fedoraproject.org> - 7.2.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu Jul 04 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-3
- Allow all architectures
* Wed Jul 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-2
- Apply upstream workaround for armv7
- Reenable tests (commented out by mistake)
* Fri Jun 28 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.3-1
- Initial package