fix: Change update-alternative calls to use clang-10 (not 9)
This fixes the docker image build (all clang tools were recently upgraded from v9 to 10)
This commit is contained in:
1 parent
4744ddc633
commit
eee74d82b2
1 file changed
+5
-5
+5
-5
@@ -128,16 +128,16 @@ RUN rm -rf /var/lig/apt/lists/*
|
||||
|
||||
# set default executables (update-alternatives)
|
||||
RUN \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100; \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 100; \
|
||||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100; \
|
||||
update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-9 100; \
|
||||
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-10 100; \
|
||||
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-10 100; \
|
||||
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-10 100; \
|
||||
update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-10 100; \
|
||||
update-alternatives --config clang; \
|
||||
update-alternatives --config clang++; \
|
||||
update-alternatives --config clang-format; \
|
||||
update-alternatives --config clangd
|
||||
|
||||
# this is done here so that ccache sees clang++ installed, not clang-9
|
||||
# this is done here so that ccache sees clang++ installed, not clang-10
|
||||
RUN \
|
||||
apt-get update \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get install -y ccache
|
||||
|
||||
Reference in new issue
Block a user