[libcxx-commits] [PATCH] D105936: [libc++] Add a job running GCC with C++11
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 13 13:16:29 PDT 2021
ldionne created this revision.
Herald added a subscriber: arichardson.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
This configuration is interesting because GCC has a different level of
strictness for some C++ rules. In particular, it implements the older
standards more stringently than Clang, which can help find places where
we are non-conforming (especially in the test suite).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D105936
Files:
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
Index: libcxx/utils/ci/run-buildbot
===================================================================
--- libcxx/utils/ci/run-buildbot
+++ libcxx/utils/ci/run-buildbot
@@ -278,6 +278,13 @@
generate-cmake
check-cxx-cxxabi
;;
+generic-gcc-cxx11)
+ export CC=gcc-11
+ export CXX=g++-11
+ clean
+ generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx11.cmake"
+ check-cxx-cxxabi
+;;
generic-asan)
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-asan.cmake"
Index: libcxx/utils/ci/buildkite-pipeline.yml
===================================================================
--- libcxx/utils/ci/buildkite-pipeline.yml
+++ libcxx/utils/ci/buildkite-pipeline.yml
@@ -132,7 +132,7 @@
- exit_status: -1 # Agent was lost
limit: 2
- - label: "GCC 11"
+ - label: "GCC 11 / C++latest"
command: "libcxx/utils/ci/run-buildbot generic-gcc"
artifact_paths:
- "**/test-results.xml"
@@ -149,6 +149,18 @@
#
- wait
+ - label: "GCC 11 / C++11"
+ command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11"
+ artifact_paths:
+ - "**/test-results.xml"
+ agents:
+ queue: "libcxx-builders"
+ os: "linux"
+ retry:
+ automatic:
+ - exit_status: -1 # Agent was lost
+ limit: 2
+
- label: "Clang 11"
command: "libcxx/utils/ci/run-buildbot generic-clang-11"
artifact_paths:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105936.358407.patch
Type: text/x-patch
Size: 1427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210713/80de8293/attachment-0001.bin>
More information about the libcxx-commits
mailing list