File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,9 @@ ADMIN_PACKAGES="tmux"
6060 python-is-python3 \
6161 $TF_API_DEP_PACKAGES \
6262 $ADMIN_PACKAGES \
63- g++ \
6463 cmake \
6564 cmake-data \
6665 ccache \
67- binutils-gold \
6866 binutils-dev \
6967 ninja-build \
7068 pkg-config \
@@ -84,16 +82,21 @@ ADMIN_PACKAGES="tmux"
8482 libgss-dev \
8583 python3-dev \
8684 wget \
87- zlib1g-dev
85+ zlib1g-dev \
86+ lsb-release \
87+ software-properties-common \
88+ gnupg
89+
90+ bash -c " $( wget -O - https://apt.llvm.org/llvm.sh) " 20
91+ ln -sf /usr/bin/clang-20 /usr/bin/cc
92+ ln -sf /usr/bin/clang++-20 /usr/bin/c++
93+ ln -sf /usr/bin/ld.lld-20 /usr/bin/ld
8894
8995 ) && exit 0
9096 done
9197 exit 1
9298) || on_error " Failed to install required packages."
9399
94- update-alternatives --install " /usr/bin/ld" " ld" " /usr/bin/ld.gold" 20
95- update-alternatives --install " /usr/bin/ld" " ld" " /usr/bin/ld.bfd" 10
96-
97100userdel buildbot
98101groupadd buildbot
99102useradd buildbot -g buildbot -m -d /b/home
You can’t perform that action at this time.
0 commit comments