From 6240a5697f8dece2f32793093baf6bcba2253e76 Mon Sep 17 00:00:00 2001 From: Ryan Burns Date: Sun, 5 Dec 2021 12:59:33 -0800 Subject: [PATCH] mvapich: fix build with gfortran 10 Similar to mpich, there are difficulties preventing fixing the mismatched arguments upstream. --- pkgs/development/libraries/mvapich/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/mvapich/default.nix b/pkgs/development/libraries/mvapich/default.nix index c496927ebca..0f358c27962 100644 --- a/pkgs/development/libraries/mvapich/default.nix +++ b/pkgs/development/libraries/mvapich/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { "--enable-threads=multiple" "--enable-hybrid" "--enable-shared" + "FFLAGS=-fallow-argument-mismatch" # fix build with gfortran 10 ] ++ optional useSlurm "--with-pm=slurm" ++ optional (network == "ethernet") "--with-device=ch3:sock" ++ optionals (network == "infiniband") [ "--with-device=ch3:mrail" "--with-rdma=gen2" ]