From adf40cb74e8a1bcdc8596603f14bca7d410c7f33 Mon Sep 17 00:00:00 2001 From: Kaleb S. KEITHLEY Date: Aug 08 2022 13:59:20 +0000 Subject: update to 8.1.0 (for libarrow-9) --- diff --git a/.xsimd.metadata b/.xsimd.metadata index 603fd6f..bd604ea 100644 --- a/.xsimd.metadata +++ b/.xsimd.metadata @@ -1 +1 @@ -fd0e940f00ee097bb4779927af18acd7ec94439b SOURCES/xsimd-8.0.5.tar.gz +526b474b7d37673f08e7ab8838bc39d16c77fd88 SOURCES/xsimd-8.1.0.tar.gz diff --git a/SOURCES/742.patch b/SOURCES/742.patch new file mode 100644 index 0000000..6701e96 --- /dev/null +++ b/SOURCES/742.patch @@ -0,0 +1,48 @@ +From fbb1523f7874ac9de37989cbd6c17af70de68f28 Mon Sep 17 00:00:00 2001 +From: serge-sans-paille +Date: Fri, 13 May 2022 11:34:53 +0200 +Subject: [PATCH] Do not run tests on unsupported architectures + +--- + test/test_batch_manip.cpp | 5 +++++ + test/test_sum.hpp | 3 +++ + 2 files changed, 8 insertions(+) + +diff --git a/test/test_batch_manip.cpp b/test/test_batch_manip.cpp +index 45c8939f8..b8ca978d3 100644 +--- a/test/test_batch_manip.cpp ++++ b/test/test_batch_manip.cpp +@@ -9,6 +9,9 @@ + * The full license is in the file LICENSE, distributed with this software. * + ****************************************************************************/ + ++#include "xsimd/xsimd.hpp" ++#ifndef XSIMD_NO_SUPPORTED_ARCHITECTURE ++ + #include "test_utils.hpp" + + namespace xsimd +@@ -212,3 +215,5 @@ TYPED_TEST(swizzle_test, swizzle_dup) + { + this->swizzle_dup(); + } ++ ++#endif +diff --git a/test/test_sum.hpp b/test/test_sum.hpp +index 89af1a236..e5edeaf0f 100644 +--- a/test/test_sum.hpp ++++ b/test/test_sum.hpp +@@ -1,6 +1,7 @@ + #ifndef XSIMD_TEST_SUM_HPP + #define XSIMD_TEST_SUM_HPP + #include "xsimd/xsimd.hpp" ++#ifndef XSIMD_NO_SUPPORTED_ARCHITECTURE + + struct sum + { +@@ -29,3 +30,5 @@ extern template float sum::operator()(xsimd::avx, float const*, unsigned); + #endif + + #endif ++ ++#endif diff --git a/SPECS/xsimd.spec b/SPECS/xsimd.spec index 28529df..95936ba 100644 --- a/SPECS/xsimd.spec +++ b/SPECS/xsimd.spec @@ -1,12 +1,14 @@ Name: xsimd -Version: 8.0.5 -Release: 2%{?dist} +Version: 8.1.0 +Release: 1%{?dist} Summary: C++ wrappers for SIMD intrinsics License: BSD URL: https://xsimd.readthedocs.io/ %global github https://github.com/xtensor-stack/xsimd Source0: %{github}/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 742.patch + BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gtest-devel @@ -65,6 +67,9 @@ Provides: %{name}-static = %{version}-%{release} %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Aug 8 2022 Kaleb S. KEITHLEY - 8.1.0-1 +- update to 8.1.0 for libarrow-9 + * Wed Feb 23 2022 Kaleb S. KEITHLEY - 8.0.5-2 - update to 8.0.5 for SSE4_2, needed by libarrow-7.0.0