Skip to content

Commit 0686480

Browse files
committed
xsimd: fix tests with a single upstream patch
1 parent eb70c47 commit 0686480

2 files changed

Lines changed: 5 additions & 24 deletions

File tree

pkgs/by-name/xs/xsimd/disable-test_error_gamma.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

pkgs/by-name/xs/xsimd/package.nix

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,12 @@ stdenv.mkDerivation (finalAttrs: {
1919
};
2020

2121
patches = [
22-
# See: https://github.com/xtensor-stack/xsimd/issues/1030
23-
#
24-
# NOTE: Although the patch is needed only on Darwin, it is safer to always
25-
# include it, to avoid a situation an linux user trying to update the
26-
# package fails to notice it doesn't apply on their platform. We prefer not
27-
# performing this test on linux platforms too although it should pass.
28-
./disable-test_error_gamma.patch
29-
# https://github.com/xtensor-stack/xsimd/issues/1232#issuecomment-3712243289
22+
# Fixes a few tests issues discussed upstream at:
23+
# https://github.com/xtensor-stack/xsimd/issues/1232
24+
# https://github.com/xtensor-stack/xsimd/issues/1030
3025
(fetchpatch {
31-
url = "https://github.com/xtensor-stack/xsimd/commit/eb17eaaa30129a65042bedf245658014ffd94232.patch";
32-
hash = "sha256-619uFD5FijtX5I7fyoaBl/8g2jbDVaSETDMUkyYIFSs=";
33-
revert = true;
26+
url = "https://github.com/xtensor-stack/xsimd/commit/0b97964a6561eba91ca07fefbeb19196cab7cb44.patch";
27+
hash = "sha256-+YySpIY1IyENBl8f92vBk0ECn25X2Kuhgf37KItgEiY=";
3428
})
3529
];
3630

0 commit comments

Comments
 (0)