Skip to content

XMake

Prerequisites

The following dependencies are required to build the project.

Name Version Usage Import
Python >=3.11 build system system install
Cuda >=12.4 GPU programming system install

Build Project

Clone the repository with the following command:

git clone https://github.com/spiriMirror/libuipc.git

Then, you can use the following commands to build the project.

cd libuipc
xmake

Troubleshooting

out of memory

Xmake uses a lot of process for parallel compilation in order to accelerate the compilation task. However, nvcc will consume a lot of memory, thus will eventually cause an OOM

✅ Set the multi-process manurally, e.g. xmake -j8 to set 8 parallel compilation jobs