hdf5: make possible to use the v1.10 API
This commit is contained in:
parent
dc6a8abb69
commit
7187949817
|
@ -10,6 +10,7 @@
|
||||||
, enableShared ? !stdenv.hostPlatform.isStatic
|
, enableShared ? !stdenv.hostPlatform.isStatic
|
||||||
, javaSupport ? false
|
, javaSupport ? false
|
||||||
, jdk
|
, jdk
|
||||||
|
, usev110Api ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# cpp and mpi options are mutually exclusive
|
# cpp and mpi options are mutually exclusive
|
||||||
|
@ -50,7 +51,8 @@ stdenv.mkDerivation rec {
|
||||||
++ optional (szip != null) "--with-szlib=${szip}"
|
++ optional (szip != null) "--with-szlib=${szip}"
|
||||||
++ optionals mpiSupport ["--enable-parallel" "CC=${mpi}/bin/mpicc"]
|
++ optionals mpiSupport ["--enable-parallel" "CC=${mpi}/bin/mpicc"]
|
||||||
++ optional enableShared "--enable-shared"
|
++ optional enableShared "--enable-shared"
|
||||||
++ optional javaSupport "--enable-java";
|
++ optional javaSupport "--enable-java"
|
||||||
|
++ optional usev110Api "--with-default-api-version=v110";
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./bin-mv.patch
|
./bin-mv.patch
|
||||||
|
|
Loading…
Reference in a new issue