从源码编译安装sgl-kernel

1.安装依赖包

需要cmake>3.26,和一些package

sudo apt install -y libnuma-dev libssl-dev

安装cmakebash
wget https://github.com/Kitware/CMake/releases/download/v4.2.2/cmake-4.2.2.tar.gz .
e cmake-*.tar.gz
e cmake-4.2.2.tar.gz
cd cmake-4.2.2
cmake -S . -B build && cmake --build build
cmake --install build
sudo apt install cmake # 卸载系统的cmake
cmake --version

2.编译源码并安装

bash
cd sgl-kernel
make build
Join the discussion Powered by GitHub Discussions