Skip to content

Commit 8e00524

Browse files
committed
Merge pull request open-mpi#698 from miked-mellanox/topic/v2_x_build_plat_ucx
BUILD: add support for UCX detection
2 parents c4245d6 + d95cffa commit 8e00524

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/platform/mellanox/optimized

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ fi
1818

1919
if [ "$mellanox_autodetect" == "yes" ]; then
2020

21+
ucx_dir=${ucx_dir:="$(pkg-config --variable=prefix ucx)"}
22+
if [ -d $ucx_dir ]; then
23+
with_ucx=$ucx_dir
24+
fi
25+
2126
mxm_dir=${mxm_dir:="$(pkg-config --variable=prefix mxm)"}
2227
if [ -d $mxm_dir ]; then
2328
with_mxm=$mxm_dir

0 commit comments

Comments
 (0)