xtensor-stack / xsimd

C++ wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, AVX512, NEON, SVE))
https://xsimd.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.19k stars 256 forks source link

On Darwin systems only: `test_error_gamma.cpp:150: ERROR: CHECK_EQ( diff, 0 ) is NOT correct` #1030

Open doronbehar opened 5 months ago

doronbehar commented 5 months ago

Hello, experiencing this build failure in Nixpkgs on Darwin systems:

===============================================================================
/tmp/nix-build-xsimd-13.0.0.drv-0/source/test/test_error_gamma.cpp:156:
TEST CASE:  [error gamma]<xsimd::batch<double>>
  gamma

/tmp/nix-build-xsimd-13.0.0.drv-0/source/test/test_error_gamma.cpp:150: ERROR: CHECK_EQ( diff, 0 ) is NOT correct!
  values: CHECK_EQ( 4, 0 )
  logged: lgamma (negative input)

===============================================================================

Link to full build log.

We did apply https://github.com/xtensor-stack/xsimd/pull/1024 upon 13.0.0, and it seemed to have fixed the issue (see proof) but now the same test is broken differently so it seems...

cc @serge-sans-paille .

doronbehar commented 5 months ago

BTW this failure happens for both x86_64-darwin and aarch64-darwin.