Skip to content

Commit

Permalink
Conditionally depend on prrte
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriella439 committed Dec 21, 2024
1 parent 2e06f26 commit ea72fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/op/openmpi/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ stdenv.mkDerivation (finalAttrs: {
zlib
libevent
hwloc
prrte
]
++ lib.optionals stdenv.hostPlatform.isLinux [
libnl
Expand All @@ -96,6 +95,7 @@ stdenv.mkDerivation (finalAttrs: {
ucc
]
++ lib.optionals cudaSupport [ cudaPackages.cuda_cudart ]
++ lib.optionals enablePRRTE [ prrte ]
++ lib.optionals (stdenv.hostPlatform.isLinux || stdenv.hostPlatform.isFreeBSD) [ rdma-core ]
# needed for internal pmix
++ lib.optionals (!stdenv.hostPlatform.isLinux) [ python3 ]
Expand Down

0 comments on commit ea72fc1

Please sign in to comment.