Skip to content

Commit b49d5ef

Browse files
committed
[None][feat] Build nixl-libfabric plugin
This change enbles building NIXL-LIBFABRIC plugin if libfabric.so is reachable. Signed-off-by: Yoray Zack <[email protected]>
1 parent e4a295c commit b49d5ef

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/common/install_nixl.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -ex
44
GITHUB_URL="https://github.com"
55
UCX_INSTALL_PATH="/usr/local/ucx/"
66
CUDA_PATH="/usr/local/cuda"
7+
LIBFABRIC_INSTALL_PATH="/opt/libfabric"
78
NIXL_VERSION="0.7.1"
89
NIXL_REPO="https://github.com/ai-dynamo/nixl.git"
910
OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
@@ -38,7 +39,9 @@ meson setup builddir \
3839
-Dcudapath_lib="$CUDA_PATH/lib64" \
3940
-Dcudapath_inc="$CUDA_PATH/include" \
4041
-Dgds_path="$GDS_PATH" \
41-
-Dinstall_headers=true
42+
-Dlibfabric_path="$LIBFABRIC_INSTALL_PATH" \
43+
-Dinstall_headers=true \
44+
--buildtype=release
4245

4346
cd builddir && ninja install
4447
cd ../..

0 commit comments

Comments
 (0)