[libcxx-commits] [PATCH] D142126: [ci] Run the Clang pre-commit CI on the Debian runners

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 19 08:16:13 PST 2023


ldionne created this revision.
Herald added a subscriber: arichardson.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This is to avoid using the libc++ CI resources for running CI on Clang
patches. Libc++'s own CI has seen a large spike in turnaround time since
we have started sharing our resources with the Clang CI due to the large
number of Clang patches. This is an attempt to mitigate that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142126

Files:
  libcxx/utils/ci/buildkite-pipeline-clang.yml
  libcxx/utils/ci/generate-buildkite-pipeline


Index: libcxx/utils/ci/generate-buildkite-pipeline
===================================================================
--- libcxx/utils/ci/generate-buildkite-pipeline
+++ libcxx/utils/ci/generate-buildkite-pipeline
@@ -19,8 +19,11 @@
   CLANG_CHANGED=true
 fi
 
-if [[ "${CLANG_CHANGED}" == "true" && "${LIBCXX_CHANGED}" != "true" ]]; then
-  cat libcxx/utils/ci/buildkite-pipeline-clang.yml
-else
-  cat libcxx/utils/ci/buildkite-pipeline.yml
-fi
+# TEMPORARY FOR TESTING
+cat libcxx/utils/ci/buildkite-pipeline-clang.yml
+
+# if [[ "${CLANG_CHANGED}" == "true" && "${LIBCXX_CHANGED}" != "true" ]]; then
+#   cat libcxx/utils/ci/buildkite-pipeline-clang.yml
+# else
+#   cat libcxx/utils/ci/buildkite-pipeline.yml
+# fi
Index: libcxx/utils/ci/buildkite-pipeline-clang.yml
===================================================================
--- libcxx/utils/ci/buildkite-pipeline-clang.yml
+++ libcxx/utils/ci/buildkite-pipeline-clang.yml
@@ -26,8 +26,7 @@
         CC: "clang-${LLVM_HEAD_VERSION}"
         CXX: "clang++-${LLVM_HEAD_VERSION}"
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
+      queue: "linux" # Use the Clang CI resources for this
     retry:
       automatic:
         - exit_status: -1  # Agent was lost
@@ -50,8 +49,7 @@
         LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
         CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
+      queue: "linux"
     retry:
       automatic:
         - exit_status: -1  # Agent was lost
@@ -72,8 +70,7 @@
         LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
         CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
+      queue: "linux"
     retry:
       automatic:
         - exit_status: -1  # Agent was lost
@@ -94,8 +91,7 @@
         LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}" # TODO: Should we build that from scratch?
         CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
+      queue: "linux"
     retry:
       automatic:
         - exit_status: -1  # Agent was lost


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142126.490528.patch
Type: text/x-patch
Size: 2320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230119/9896a8e3/attachment.bin>


More information about the libcxx-commits mailing list