diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-08-01 13:38:11 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-08-01 14:01:30 +0300 |
commit | a4a03bb261829d49d0cc19b06d435ce371addd5a (patch) | |
tree | 788a58fa9f114e4aaa57c375f044a95e4d5a482d /pkgs/development/libraries/xsimd/default.nix | |
parent | 9bef3687ff5f07e342cc3394b4438f35f71522c2 (diff) |
xsimd: fix more failing tests
Some tests fail on some platforms, and now every patch disables 1 test.
Diffstat (limited to 'pkgs/development/libraries/xsimd/default.nix')
-rw-r--r-- | pkgs/development/libraries/xsimd/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/development/libraries/xsimd/default.nix b/pkgs/development/libraries/xsimd/default.nix index 6330739f3cd6c..a481a12932f9e 100644 --- a/pkgs/development/libraries/xsimd/default.nix +++ b/pkgs/development/libraries/xsimd/default.nix @@ -21,10 +21,19 @@ stdenv.mkDerivation rec { # interfer with the Linux implementations. ./fix-darwin-exp10-implementation.patch ] ++ lib.optionals stdenv.isDarwin [ - # Upstream reports: # https://github.com/xtensor-stack/xsimd/issues/807 - # https://github.com/xtensor-stack/xsimd/issues/917 - ./disable-darwin-failing-tests.patch + ./disable-test_error_gamma-test.patch + ] ++ lib.optionals (stdenv.isDarwin || stdenv.hostPlatform.isMusl) [ + # - Darwin report: https://github.com/xtensor-stack/xsimd/issues/917 + # - Musl report: https://github.com/xtensor-stack/xsimd/issues/798 + ./disable-exp10-test.patch + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ + # https://github.com/xtensor-stack/xsimd/issues/798 + ./disable-polar-test.patch + ] ++ lib.optionals stdenv.hostPlatform.isMusl [ + # Fix suggested here: https://github.com/xtensor-stack/xsimd/issues/798#issuecomment-1356884601 + # Upstream didn't merge that from some reason. + ./fix-atan-test.patch ]; nativeBuildInputs = [ |