arpack-mpi: fix test failure on aarch64-linux platfrom (#390006)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
, gfortran, blas, lapack, eigen
|
||||
, useMpi ? false
|
||||
, mpi
|
||||
, openssh
|
||||
, mpiCheckPhaseHook
|
||||
, igraph
|
||||
, useAccel ? false #use Accelerate framework on darwin
|
||||
}:
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
blas lapack
|
||||
]) ++ lib.optional useMpi mpi;
|
||||
|
||||
nativeCheckInputs = lib.optional useMpi openssh;
|
||||
nativeCheckInputs = lib.optional useMpi mpiCheckPhaseHook;
|
||||
checkInputs =
|
||||
# work around for `ld: file not found: @rpath/libquadmath.0.dylib`
|
||||
# which occurs due to an mpi test linking with `-flat_namespace`
|
||||
@@ -41,7 +41,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
# a couple tests fail when run in parallel
|
||||
doCheck = true;
|
||||
enableParallelChecking = false;
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
env = lib.optionalAttrs useAccel {
|
||||
# Without these flags some tests will fail / segfault when using Accelerate
|
||||
|
||||
Reference in New Issue
Block a user