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 (
|
||||
old: {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ];
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -540,14 +540,14 @@ self: super:
|
|||
{ }
|
||||
{
|
||||
mpi = {
|
||||
mpicc = "${pkgs.openmpi.outPath}/bin/mpicc";
|
||||
mpicc = "${pkgs.mpi.outPath}/bin/mpicc";
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
in
|
||||
{
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.openmpi ];
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ pkgs.mpi ];
|
||||
enableParallelBuilding = true;
|
||||
preBuild = ''
|
||||
ln -sf ${cfg} mpi.cfg
|
||||
|
|
Loading…
Add table
Reference in a new issue