Building NIXL from Source

View as Markdown

Build NIXL from source using one of the following methods:

Build Options

Common Build Options

OptionDefaultDescription
build_docsfalseBuild Doxygen documentation
build_nixl_epfalseBuild NIXL-EP, Expert-parallel communication
ucx_path""Path to UCX installation
libfabric_path""Path to Libfabric installation
gds_path/usr/local/cuda/Path to GDS CuFile installation
install_headerstrueInstall development headers
disable_gds_backendfalseDisable GDS backend
disable_mooncake_backendfalseDisable Mooncake backend
cudapath_incauto-detectedCustom CUDA include path
cudapath_libauto-detectedCustom CUDA library path
cudapath_stub""Custom CUDA stub library path
etcd_inc_path""Path to etcd headers
etcd_lib_path""Path to etcd libraries
static_plugins""Comma-separated plug-ins to build statically
enable_pluginsallComma-separated plug-ins to build (cannot combine with disable_plugins)
disable_plugins""Comma-separated plug-ins to exclude (cannot combine with enable_plugins)
rustfalseBuild Rust bindings
log_levelautoLog level: trace, debug, info, warning, error, fatal, auto

Example with custom options:

meson setup build \
-Ducx_path=/opt/ucx \
-Denable_plugins=UCX,POSIX \
-Drust=true

Backend Specific Instructions

Some backends have additional build requirements beyond the core prerequisites. Refer to the plug-in-specific documentation under NIXL Backends for details.