[libcxx] Move Linaro AArch64 buildbots to buildkite
authorDavid Spickett <david.spickett@linaro.org>
Mon, 8 Feb 2021 10:43:21 +0000 (10:43 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Thu, 4 Mar 2021 10:22:17 +0000 (10:22 +0000)
Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D96267

libcxx/cmake/caches/AArch64.cmake [new file with mode: 0644]
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot

diff --git a/libcxx/cmake/caches/AArch64.cmake b/libcxx/cmake/caches/AArch64.cmake
new file mode 100644 (file)
index 0000000..33356a7
--- /dev/null
@@ -0,0 +1,2 @@
+set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
+set(LIBCXX_TARGET_TRIPLE "aarch64-linux-gnu" CACHE STRING "")
index 9f69f93..db903b4 100644 (file)
@@ -331,3 +331,27 @@ steps:
   #     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 654d826..fb23df5 100755 (executable)
@@ -384,6 +384,18 @@ legacy-standalone)
     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