hdf5: Optional enableShared flag
Required by h5py in mpi mode.
This commit is contained in:
parent
2728b27f75
commit
37b064fcc7
@ -4,6 +4,7 @@
|
||||
, zlib ? null
|
||||
, szip ? null
|
||||
, mpi ? null
|
||||
, enableShared ? true
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.8.13";
|
||||
@ -28,6 +29,7 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = "
|
||||
${if szip != null then "--with-szlib=${szip}" else ""}
|
||||
${if mpi != null then "--enable-parallel" else ""}
|
||||
${if enableShared then "--enable-shared" else ""}
|
||||
";
|
||||
|
||||
patches = [./bin-mv.patch];
|
||||
|
Loading…
Reference in New Issue
Block a user