forked from OSchip/llvm-project
[libc++][ci] Update to Clang 13.
Per our support plan we should now support Clang 12 and 13. Adjust the documentation and the CI runners. The change indirectly moves the main CI runners to use the Clang 14 nightly builds. Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D112360
This commit is contained in:
parent
793b481f54
commit
04a9a25d7c
|
@ -103,7 +103,7 @@ velocity, libc++ drops support for older compilers as newer ones are released.
|
|||
============ =============== ========================== =====================
|
||||
Compiler Versions Restrictions Support policy
|
||||
============ =============== ========================== =====================
|
||||
Clang 11, 12 latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_
|
||||
Clang 12, 13 latest two stable releases per `LLVM's release page <https://releases.llvm.org>`_
|
||||
AppleClang 12 latest stable release per `Xcode's release page <https://developer.apple.com/documentation/xcode-release-notes>`_
|
||||
GCC 11 In C++11 or later only latest stable release per `GCC's release page <https://gcc.gnu.org/releases.html>`_
|
||||
============ =============== ========================== =====================
|
||||
|
|
|
@ -55,7 +55,7 @@ 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=12
|
||||
ENV LLVM_LATEST_VERSION=13
|
||||
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 - 1)) # previous release
|
||||
|
|
|
@ -174,8 +174,8 @@ steps:
|
|||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
- label: "Clang 11"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-11"
|
||||
- label: "Clang 12"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-12"
|
||||
artifact_paths:
|
||||
- "**/test-results.xml"
|
||||
agents:
|
||||
|
@ -187,8 +187,8 @@ steps:
|
|||
limit: 2
|
||||
timeout_in_minutes: 120
|
||||
|
||||
- label: "Clang 12"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-12"
|
||||
- label: "Clang 13"
|
||||
command: "libcxx/utils/ci/run-buildbot generic-clang-13"
|
||||
artifact_paths:
|
||||
- "**/test-results.xml"
|
||||
agents:
|
||||
|
|
|
@ -288,17 +288,17 @@ generic-32bit)
|
|||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
check-runtimes
|
||||
;;
|
||||
generic-clang-11)
|
||||
export CC=clang-11
|
||||
export CXX=clang++-11
|
||||
generic-clang-12)
|
||||
export CC=clang-12
|
||||
export CXX=clang++-12
|
||||
clean
|
||||
generate-cmake -DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \
|
||||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
check-runtimes
|
||||
;;
|
||||
generic-clang-12)
|
||||
export CC=clang-12
|
||||
export CXX=clang++-12
|
||||
generic-clang-13)
|
||||
export CC=clang-13
|
||||
export CXX=clang++-13
|
||||
clean
|
||||
generate-cmake -DLIBCXX_TEST_CONFIG="llvm-libc++-shared.cfg.in" \
|
||||
-DLIBUNWIND_TEST_CONFIG="llvm-libunwind-shared.cfg.in"
|
||||
|
|
Loading…
Reference in New Issue