From 6e5342a6b0f4172ab6ce49e5d315309ec06b2a27 Mon Sep 17 00:00:00 2001 From: David Spickett Date: Mon, 8 Feb 2021 10:43:21 +0000 Subject: [PATCH] [libcxx] Move Linaro AArch64 buildbots to buildkite Reviewed By: #libc, ldionne Differential Revision: https://reviews.llvm.org/D96267 --- libcxx/cmake/caches/AArch64.cmake | 2 ++ libcxx/utils/ci/buildkite-pipeline.yml | 24 ++++++++++++++++++++++++ libcxx/utils/ci/run-buildbot | 12 ++++++++++++ 3 files changed, 38 insertions(+) create mode 100644 libcxx/cmake/caches/AArch64.cmake diff --git a/libcxx/cmake/caches/AArch64.cmake b/libcxx/cmake/caches/AArch64.cmake new file mode 100644 index 0000000..33356a7 --- /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 9f69f93..db903b4 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 654d826..fb23df5 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 -- 2.7.4