Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitlab/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ curl -fSsL "https://github.com/openucx/ucx/tarball/v1.18.0" | tar xz
ldconfig \
)

git clone https://github.com/kvcache-ai/Mooncake.git
cd Mooncake && bash dependencies.sh
export PATH=${PATH}:/usr/local/go/bin
apt-get -qq remove libibverbs-dev
apt-get -qq install -y libibverbs-dev
mkdir build && cd build && cmake .. -DBUILD_SHARED_LIBS=ON && make -j && make install

export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:${INSTALL_DIR}/lib
export CPATH=${INSTALL_DIR}/include:$CPATH
Expand All @@ -98,6 +105,7 @@ export PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH
# UCX transfers and can cause contention with local collectives.
export UCX_TLS=^cuda_ipc

cd /workspace
meson setup nixl_build --prefix=${INSTALL_DIR} -Ducx_path=${UCX_INSTALL_DIR} -Dbuild_docs=true
cd nixl_build && ninja && ninja install

Expand Down