merge existing env fix

Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
This commit is contained in:
Xiwen Yu 2025-08-06 10:57:31 +08:00
parent 271916d196
commit 886437db3a
2 changed files with 1 additions and 5 deletions

View File

@ -9,8 +9,6 @@ wget https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux
bash cmake-4.0.3-linux-x86_64.sh --skip-license --prefix=/usr/local/cmake --exclude-subdir
apt update
apt remove -y ibverbs-providers libibverbs1
apt install -y libibverbs-dev
apt install -y libstdc++-14-dev
elif [ $ARCH == "aarch64" ]; then
@ -24,9 +22,6 @@ wget https://github.com/Kitware/CMake/releases/download/v4.0.3/cmake-4.0.3-linux
bash cmake-4.0.3-linux-aarch64.sh --skip-license --prefix=/usr/local/cmake --exclude-subdir
apt update
# fix NXIL
apt remove -y ibverbs-providers libibverbs1 # package version conflict with libibverbs-dev
apt install -y libibverbs-dev
# fix LLVM build
apt install -y libstdc++-14-dev

View File

@ -45,6 +45,7 @@ cleanup() {
init_ubuntu() {
apt-get update
# libibverbs-dev is installed but libmlx5.so is missing, reinstall the package
apt remove -y ibverbs-providers libibverbs1
apt-get --reinstall install -y libibverbs-dev
apt-get install -y --no-install-recommends \
ccache \