xsimd: 13.2.0 -> 14.2.0

Diff: https://github.com/xtensor-stack/xsimd/compare/13.2.0...14.2.0

Changelog: https://github.com/xtensor-stack/xsimd/blob/14.2.0/Changelog.rst#1400

Main changes relevant to us are:
 - Upstream now includes CI for aarch64 and other platforms, so they run
   the package's tests continously, and hence shouldn't produce releases
   that fail to build or the tests on aarch64-linux etc.
 - All the local patches we had now can be removed thanks to the
   following issues resolved:
   * https://github.com/xtensor-stack/xsimd/issues/1063
   * https://github.com/xtensor-stack/xsimd/issues/1232
This commit is contained in:
Doron Behar
2026-05-03 10:34:18 +03:00
parent 59bf4794ba
commit c08ceb2ee4
3 changed files with 2 additions and 42 deletions
@@ -1,13 +0,0 @@
diff --git i/test/test_error_gamma.cpp w/test/test_error_gamma.cpp
index 214cbb5..6c30605 100644
--- i/test/test_error_gamma.cpp
+++ w/test/test_error_gamma.cpp
@@ -131,7 +131,7 @@ struct error_gamma_test
INFO("lgamma");
CHECK_EQ(diff, 0);
}
-#if !(XSIMD_WITH_AVX && !XSIMD_WITH_AVX2)
+#if 0 && !(XSIMD_WITH_AVX && !XSIMD_WITH_AVX2)
// tgamma (negative input)
{
+2 -15
View File
@@ -8,28 +8,15 @@
stdenv.mkDerivation (finalAttrs: {
pname = "xsimd";
version = "13.2.0";
version = "14.2.0";
src = fetchFromGitHub {
owner = "xtensor-stack";
repo = "xsimd";
tag = finalAttrs.version;
hash = "sha256-L4ttJxP46uNwQAEUMoJ8rsc51Le2GeIGbT1kX7ZzcPA=";
hash = "sha256-BTiN4B3//wlB3nmOoluM/7bL7J7YIBp5afih9zUP1yw=";
};
patches = [
# See: https://github.com/xtensor-stack/xsimd/issues/1030
#
# NOTE: Although the patch is needed only on Darwin, it is safer to always
# include it, to avoid a situation an linux user trying to update the
# package fails to notice it doesn't apply on their platform. We prefer not
# performing this test on linux platforms too although it should pass.
./disable-test_error_gamma.patch
# https://github.com/xtensor-stack/xsimd/issues/1063
./relax-asin-precision.diff
];
# strictDeps raises the chance that xsimd will be able to be cross compiled
strictDeps = true;
@@ -1,14 +0,0 @@
diff --git a/test/test_xsimd_api.cpp b/test/test_xsimd_api.cpp
index f416ae9..1f8253e 100644
--- a/test/test_xsimd_api.cpp
+++ b/test/test_xsimd_api.cpp
@@ -468,7 +468,8 @@ struct xsimd_api_float_types_functions
void test_asin()
{
value_type val(1);
- CHECK_EQ(extract(xsimd::asin(T(val))), std::asin(val));
+ CHECK(extract(xsimd::asin(T(val)))
+ == doctest::Approx(std::asin(val)).epsilon(1e-7));
}
void test_asinh()
{