mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
netcdf: Make mpi build optional
This commit is contained in:
parent
d9c222c814
commit
a5a5805ce0
1 changed files with 11 additions and 9 deletions
|
@ -46,15 +46,17 @@ stdenv.mkDerivation rec {
|
||||||
libxml2 # xml2-config
|
libxml2 # xml2-config
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
curl
|
[
|
||||||
hdf5
|
curl
|
||||||
libxml2
|
hdf5
|
||||||
mpi
|
libxml2
|
||||||
bzip2
|
bzip2
|
||||||
libzip
|
libzip
|
||||||
zstd
|
zstd
|
||||||
] ++ lib.optional szipSupport szip;
|
]
|
||||||
|
++ lib.optional szipSupport szip
|
||||||
|
++ lib.optional mpiSupport mpi;
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue