[libcxx-commits] [PATCH] D96267: [libcxx] Move Linaro AArch64 buildbots to buildkite

David Spickett via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 8 08:11:25 PST 2021


DavidSpickett updated this revision to Diff 322117.
DavidSpickett added a comment.

Turns out that yes I can use tags other than "queue" for the agents,
which answers my own question.

https://buildkite.com/docs/pipelines/command-step


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96267/new/

https://reviews.llvm.org/D96267

Files:
  libcxx/cmake/caches/AArch64.cmake
  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
@@ -376,6 +376,18 @@
     echo "+++ Running the libc++abi tests"
     ninja -C "${BUILD_DIR}/libcxxabi" check-cxxabi
 ;;
+aarch64)
+    clean
+    generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/AArch64.cmake"
+    check-cxx-cxxabi
+;;
+aarch64-noexceptions)
+    clean
+    generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/AArch64.cmake" \
+    -DLIBCXX_ENABLE_EXCEPTIONS=OFF \
+    -DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
+    check-cxx-cxxabi
+;;
 *)
     echo "${BUILDER} is not a known configuration"
     exit 1
Index: libcxx/utils/ci/buildkite-pipeline.yml
===================================================================
--- libcxx/utils/ci/buildkite-pipeline.yml
+++ libcxx/utils/ci/buildkite-pipeline.yml
@@ -322,3 +322,27 @@
       automatic:
         - exit_status: -1  # Agent was lost
           limit: 2
+
+  - label: "AArch64"
+    command: "libcxx/utils/ci/run-buildbot aarch64"
+    artifact_paths:
+      - "**/test-results.xml"
+    agents:
+      queue: "libcxx-builders-linaro-arm"
+      arch: "aarch64"
+    retry:
+      automatic:
+        - exit_status: -1  # Agent was lost
+          limit: 2
+
+  - label: "AArch64 -fno-exceptions"
+    command: "libcxx/utils/ci/run-buildbot aarch64-noexceptions"
+    artifact_paths:
+      - "**/test-results.xml"
+    agents:
+      queue: "libcxx-builders-linaro-arm"
+      arch: "aarch64"
+    retry:
+      automatic:
+        - exit_status: -1  # Agent was lost
+          limit: 2
Index: libcxx/cmake/caches/AArch64.cmake
===================================================================
--- /dev/null
+++ libcxx/cmake/caches/AArch64.cmake
@@ -0,0 +1,3 @@
+set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
+set(CMAKE_C_FLAGS "-mcpu=cortex-a57" CACHE STRING "")
+set(CMAKE_CXX_FLAGS "-mcpu=cortex-a57" CACHE STRING "")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96267.322117.patch
Type: text/x-patch
Size: 1976 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210208/75f1caa9/attachment.bin>


More information about the libcxx-commits mailing list