firedrake: Initial packaging
This commit is contained in:
30
firedrake/hypre.nix
Normal file
30
firedrake/hypre.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
with import <nixpkgs> {};
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "xsdk-0.2.0-rc2";
|
||||
name = "hypre-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "LLNL";
|
||||
repo = "hypre";
|
||||
rev = "${version}";
|
||||
sha256 = "0ql1zs0imv14q511aj5g82mfhlycy8rqa5b6rzzw86c4cslasgch";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
cmake
|
||||
openmpi
|
||||
];
|
||||
|
||||
|
||||
sourceRoot = "${name}-src/src";
|
||||
preConfigure = "cmakeFlags=\"-DHYPRE_INSTALL_PREFIX=$prefix $cmakeFlags\"";
|
||||
|
||||
makeFlags = [ "VERBOSE=1" ];
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.llnl.gov/casc/hypre";
|
||||
description = "Parallel solvers for sparse linear systems featuring multigrid methods.";
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user