highfive: 2.10.1 -> 3.3.0
Changelog: https://github.com/highfive-devs/highfive/blob/v3.3.0/CHANGELOG.md Diff: https://github.com/highfive-devs/highfive/compare/v2.10.1...v3.3.0
This commit is contained in:
@@ -3,8 +3,6 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
boost,
|
||||
eigen,
|
||||
hdf5,
|
||||
mpiSupport ? hdf5.mpiSupport,
|
||||
mpi ? hdf5.mpi,
|
||||
@@ -14,20 +12,18 @@ assert mpiSupport -> mpi != null;
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "highfive${lib.optionalString mpiSupport "-mpi"}";
|
||||
version = "2.10.1";
|
||||
version = "3.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "BlueBrain";
|
||||
repo = "HighFive";
|
||||
rev = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-Nv+nbel/xGlGTB8sKF0EM1xwz/ZEri5uGB7ma6Ba6fo=";
|
||||
owner = "highfive-devs";
|
||||
repo = "highfive";
|
||||
tag = "v${finalAttrs.version}";
|
||||
sha256 = "sha256-BuDvoQgMdZIDHYwXqigM78DQ+WtT+K0FdXERMUjmXc0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
buildInputs = [
|
||||
boost
|
||||
eigen
|
||||
hdf5
|
||||
];
|
||||
|
||||
@@ -36,19 +32,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DHIGHFIVE_USE_BOOST=ON"
|
||||
"-DHIGHFIVE_USE_EIGEN=ON"
|
||||
"-DHIGHFIVE_EXAMPLES=OFF"
|
||||
"-DHIGHFIVE_UNIT_TESTS=OFF"
|
||||
"-DHIGHFIVE_USE_INSTALL_DEPS=ON"
|
||||
(lib.cmakeFeature "CMAKE_POLICY_VERSION_MINIMUM" "3.5")
|
||||
]
|
||||
++ (lib.optionals mpiSupport [ "-DHIGHFIVE_PARALLEL_HDF5=ON" ]);
|
||||
++ (lib.optionals mpiSupport [ "-DHDF5_IS_PARALLEL=ON" ]);
|
||||
|
||||
meta = {
|
||||
description = "Header-only C++ HDF5 interface";
|
||||
homepage = "https://github.com/highfive-devs/highfive";
|
||||
changelog = "https://github.com/highfive-devs/highfive/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.boost;
|
||||
homepage = "https://bluebrain.github.io/HighFive/";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ robertodr ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user