mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
mvapich: fix build with gfortran 10
Similar to mpich, there are difficulties preventing fixing the mismatched arguments upstream.
This commit is contained in:
parent
3f1c889d08
commit
6240a5697f
@ -40,6 +40,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--enable-threads=multiple"
|
"--enable-threads=multiple"
|
||||||
"--enable-hybrid"
|
"--enable-hybrid"
|
||||||
"--enable-shared"
|
"--enable-shared"
|
||||||
|
"FFLAGS=-fallow-argument-mismatch" # fix build with gfortran 10
|
||||||
] ++ optional useSlurm "--with-pm=slurm"
|
] ++ optional useSlurm "--with-pm=slurm"
|
||||||
++ optional (network == "ethernet") "--with-device=ch3:sock"
|
++ optional (network == "ethernet") "--with-device=ch3:sock"
|
||||||
++ optionals (network == "infiniband") [ "--with-device=ch3:mrail" "--with-rdma=gen2" ]
|
++ optionals (network == "infiniband") [ "--with-device=ch3:mrail" "--with-rdma=gen2" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user