mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
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
|
||||
, 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
|
||||
|
Loading…
Reference in New Issue
Block a user