[libcxx-commits] [libcxx] 6e5342a - [libcxx] Move Linaro AArch64 buildbots to buildkite

David Spickett via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 4 02:22:24 PST 2021


Author: David Spickett
Date: 2021-03-04T10:22:17Z
New Revision: 6e5342a6b0f4172ab6ce49e5d315309ec06b2a27

URL: https://github.com/llvm/llvm-project/commit/6e5342a6b0f4172ab6ce49e5d315309ec06b2a27
DIFF: https://github.com/llvm/llvm-project/commit/6e5342a6b0f4172ab6ce49e5d315309ec06b2a27.diff

LOG: [libcxx] Move Linaro AArch64 buildbots to buildkite

Reviewed By: #libc, ldionne

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

Added: 
    libcxx/cmake/caches/AArch64.cmake

Modified: 
    libcxx/utils/ci/buildkite-pipeline.yml
    libcxx/utils/ci/run-buildbot

Removed: 
    


################################################################################
diff  --git a/libcxx/cmake/caches/AArch64.cmake b/libcxx/cmake/caches/AArch64.cmake
new file mode 100644
index 000000000000..33356a7ee021
--- /dev/null
+++ b/libcxx/cmake/caches/AArch64.cmake
@@ -0,0 +1,2 @@
+set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
+set(LIBCXX_TARGET_TRIPLE "aarch64-linux-gnu" CACHE STRING "")

diff  --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index 9f69f93feb33..db903b47c526 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -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

diff  --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index 654d8266d2b3..fb23df532201 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -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


        


More information about the libcxx-commits mailing list