summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2021-10-23 13:08:01 +0200
committerMark de Wever <koraq@xs4all.nl>2021-10-28 17:37:32 +0200
commit04a9a25d7cda116d18820c79832cdd8a6ece2e89 (patch)
tree6da5fa17cc3821e9a5a6deb9d35f4e66a9e28730
parent793b481f54f8343bc3e6041f4400fe54166529a9 (diff)
downloadllvm-04a9a25d7cda116d18820c79832cdd8a6ece2e89.tar.gz
[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
-rw-r--r--libcxx/docs/index.rst2
-rw-r--r--libcxx/utils/ci/Dockerfile2
-rw-r--r--libcxx/utils/ci/buildkite-pipeline.yml8
-rwxr-xr-xlibcxx/utils/ci/run-buildbot12
4 files changed, 12 insertions, 12 deletions
diff --git a/libcxx/docs/index.rst b/libcxx/docs/index.rst
index a4bbac7ecf25..911ee2e3998f 100644
--- a/libcxx/docs/index.rst
+++ b/libcxx/docs/index.rst
@@ -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>`_
============ =============== ========================== =====================
diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 6152b0593593..4939d52456fe 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -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
diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index c26405e58b97..924bf2de4e06 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -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:
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 1129957f508b..744d0fd8ba85 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -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"