hpccg: fix indentation
This commit is contained in:
parent
fb1d50e9dd
commit
c0a0eeec7f
@ -20,34 +20,34 @@ let
|
|||||||
gitTable = import ./git-table.nix;
|
gitTable = import ./git-table.nix;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "hpccg";
|
name = "hpccg";
|
||||||
|
|
||||||
inherit (gitSource) src gitBranch gitCommit;
|
inherit (gitSource) src gitBranch gitCommit;
|
||||||
|
|
||||||
programPath = "/bin/test_HPCCG-mpi.exe";
|
programPath = "/bin/test_HPCCG-mpi.exe";
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
icc
|
icc
|
||||||
]
|
]
|
||||||
++ optional (mpi != null) mpi
|
++ optional (mpi != null) mpi
|
||||||
++ optional (tampi != null) tampi
|
++ optional (tampi != null) tampi
|
||||||
++ optional (mcxx != null) mcxx;
|
++ optional (mcxx != null) mcxx;
|
||||||
|
|
||||||
# The hpccg app fails to compile in parallel. Makefile must be fixed before.
|
# The hpccg app fails to compile in parallel. Makefile must be fixed before.
|
||||||
enableParallelBuilding = false;
|
enableParallelBuilding = false;
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"USE_MPI=-DUSING_MPI"
|
"USE_MPI=-DUSING_MPI"
|
||||||
]
|
]
|
||||||
++ optional (tampi != null) "TAMPI_HOME=${tampi}";
|
++ optional (tampi != null) "TAMPI_HOME=${tampi}";
|
||||||
|
|
||||||
dontPatchShebangs = true;
|
dontPatchShebangs = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
echo ${tampi}
|
echo ${tampi}
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
cp test_HPCCG-mpi.exe $out/bin
|
cp test_HPCCG-mpi.exe $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user