mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
hpcg: cleanup, add runHooks to InstallPhase
This commit is contained in:
parent
9c2023e238
commit
7301f5b7d2
@ -9,19 +9,23 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "197lw2nwmzsmfsbvgvi8z7kj69n374kgfzzp8pkmk7mp2vkk991k";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ mpi ];
|
||||
|
||||
makeFlags = [ "arch=Linux_MPI" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
dontConfigure = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin $out/share/hpcg
|
||||
|
||||
cp bin/xhpcg $out/bin
|
||||
cp bin/hpcg.dat $out/share/hpcg
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user