hdf5: make possible to use the v1.10 API

This commit is contained in:
Thomas Gerbet 2021-04-04 13:05:19 +02:00
parent dc6a8abb69
commit 7187949817

View File

@ -10,6 +10,7 @@
, enableShared ? !stdenv.hostPlatform.isStatic
, javaSupport ? false
, jdk
, usev110Api ? false
}:
# cpp and mpi options are mutually exclusive
@ -50,7 +51,8 @@ stdenv.mkDerivation rec {
++ optional (szip != null) "--with-szlib=${szip}"
++ optionals mpiSupport ["--enable-parallel" "CC=${mpi}/bin/mpicc"]
++ optional enableShared "--enable-shared"
++ optional javaSupport "--enable-java";
++ optional javaSupport "--enable-java"
++ optional usev110Api "--with-default-api-version=v110";
patches = [
./bin-mv.patch