mirror of
https://github.com/NVIDIA/TensorRT-LLM.git
synced 2026-01-22 11:42:41 +08:00
merge existing env fix
Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
This commit is contained in:
parent
271916d196
commit
886437db3a
@ -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
|
||||
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user