[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 18:26:54 PDT 2021
ldionne updated this revision to Diff 358478.
ldionne added a comment.
Try to workaround some failures
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105936/new/
https://reviews.llvm.org/D105936
Files:
libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
libcxx/test/support/test_macros.h
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:
Index: libcxx/test/support/test_macros.h
===================================================================
--- libcxx/test/support/test_macros.h
+++ libcxx/test/support/test_macros.h
@@ -139,7 +139,7 @@
# define TEST_NOEXCEPT_COND(...)
#endif
-#if TEST_STD_VER >= 17
+#if TEST_STD_VER >= 11
# define TEST_THROW_SPEC(...)
#else
# define TEST_THROW_SPEC(...) throw(__VA_ARGS__)
Index: libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
===================================================================
--- libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
+++ libcxx/test/std/strings/string.view/string.view.ops/copy.pass.cpp
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-// XFAIL: gcc-10, gcc-11
-// GCC's __builtin_strlen isn't constexpr yet
+// GCC's __builtin_strlen isn't constexpr yet
+// XFAIL: (gcc-10 || gcc-11) && !(c++11 || c++14 || c++17)
// UNSUPPORTED: LIBCXX-DEBUG-FIXME
// <string_view>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105936.358478.patch
Type: text/x-patch
Size: 2437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210714/ab2e9525/attachment-0001.bin>
More information about the libcxx-commits
mailing list