[libc++] Bump the version of Clang we use in the CI

Differential Revision: https://reviews.llvm.org/D118830
This commit is contained in:
Louis Dionne 2022-02-02 13:19:27 -05:00
parent 9dd4c2dcb6
commit a27304c50f
1 changed files with 3 additions and 1 deletions

View File

@ -54,9 +54,11 @@ RUN printf "fr_CA ISO-8859-1\ncs_CZ ISO-8859-2" >> /usr/local/share/i1en/SUPPORT
RUN locale-gen
# Install Clang <latest>, <latest-1> and ToT, which are the ones we support.
ENV LLVM_LATEST_VERSION=13
# We also install <latest-2> to allow smooth CI transitions around release points.
ENV LLVM_LATEST_VERSION=14
RUN apt-get update && apt-get install -y lsb-release wget software-properties-common
RUN wget https://apt.llvm.org/llvm.sh -O /tmp/llvm.sh
RUN bash /tmp/llvm.sh $(($LLVM_LATEST_VERSION - 2)) # for CI transitions
RUN bash /tmp/llvm.sh $(($LLVM_LATEST_VERSION - 1)) # previous release
RUN bash /tmp/llvm.sh $LLVM_LATEST_VERSION # latest release
RUN bash /tmp/llvm.sh $(($LLVM_LATEST_VERSION + 1)) # current ToT