[packages/xsimd/DEVEL-13] - updated to 13.2.0 + fix from Fedora
qboosh
qboosh at pld-linux.org
Mon Apr 14 21:46:57 CEST 2025
commit e4a1f396e42ce922dc4a073b973cf36e4ea730ba
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Apr 14 21:40:45 2025 +0200
- updated to 13.2.0 + fix from Fedora
xsimd-1091.patch | 29 +++++++++++++++++++++++++++++
xsimd.spec | 11 ++++++-----
2 files changed, 35 insertions(+), 5 deletions(-)
---
diff --git a/xsimd.spec b/xsimd.spec
index 0f80613..0a7b662 100644
--- a/xsimd.spec
+++ b/xsimd.spec
@@ -7,16 +7,18 @@
Summary: C++ wrappers for SIMD intrinsics
Summary(pl.UTF-8): Opakowanie C++ dla operacji SIMD
Name: xsimd
-Version: 12.1.1
+Version: 13.2.0
Release: 1
License: BSD
Group: Libraries
#Source0Download: https://github.com/xtensor-stack/xsimd/tags
Source0: https://github.com/xtensor-stack/xsimd/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: e8887de343bd6036bdfa1f4a4752dc64
+# Source0-md5: f451a1c57d2a4fdc0ba663be438dced4
Patch0: %{name}-batch.patch
+# https://github.com/xtensor-stack/xsimd/pull/1091.patch
+Patch1: %{name}-1091.patch
URL: https://xsimd.readthedocs.io/
-BuildRequires: cmake >= 3.1
+BuildRequires: cmake >= 3.8
%{?with_tests:BuildRequires: doctest >= 2.4.9}
BuildRequires: libstdc++-devel >= 6:4.7
%{?with_xtl:BuildRequires: libstdc++-devel >= 6:5}
@@ -114,13 +116,12 @@ Dokumentacja API biblioteki xsimd.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
install -d build
cd build
-# fake LIBDIR so we can create noarch package
%cmake .. \
- -DCMAKE_INSTALL_LIBDIR=%{_datadir} \
%{?with_tests:-DBUILD_BENCHMARK=ON} \
%{?with_tests:-DBUILD_TESTS=ON}
diff --git a/xsimd-1091.patch b/xsimd-1091.patch
new file mode 100644
index 0000000..4a281c4
--- /dev/null
+++ b/xsimd-1091.patch
@@ -0,0 +1,29 @@
+From 49bcf64aed77285962352786d6a94e2bef57f8e0 Mon Sep 17 00:00:00 2001
+From: serge-sans-paille <serge.guelton at 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xsimd.git/commitdiff/e4a1f396e42ce922dc4a073b973cf36e4ea730ba
More information about the pld-cvs-commit
mailing list