mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
overrides: Replace openmpi with mpi
This commit is contained in:
parent
095793f14f
commit
267e417af0
1 changed files with 3 additions and 3 deletions
|
@ -257,7 +257,7 @@ self: super:
|
||||||
|
|
||||||
horovod = super.horovod.overridePythonAttrs (
|
horovod = super.horovod.overridePythonAttrs (
|
||||||
old: {
|
old: {
|
||||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ];
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ];
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -540,14 +540,14 @@ self: super:
|
||||||
{ }
|
{ }
|
||||||
{
|
{
|
||||||
mpi = {
|
mpi = {
|
||||||
mpicc = "${pkgs.openmpi.outPath}/bin/mpicc";
|
mpicc = "${pkgs.mpi.outPath}/bin/mpicc";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ];
|
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ];
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
ln -sf ${cfg} mpi.cfg
|
ln -sf ${cfg} mpi.cfg
|
||||||
|
|
Loading…
Add table
Reference in a new issue