[libcxx-commits] [PATCH] D98019: [libcxx] Move Linaro 32 bit armv8 bots to buildkite
David Spickett via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Mar 5 01:45:48 PST 2021
DavidSpickett created this revision.
Herald added subscribers: kristof.beyls, arichardson, mgorny.
DavidSpickett requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Instead of setting mcpu like the previous bots,
set the target triple.
Each config builds either Arm only or Thumb only
code. This gives us some coverage of thumb specific
issues.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D98019
Files:
libcxx/cmake/caches/Armv8.cmake
libcxx/utils/ci/run-buildbot
Index: libcxx/utils/ci/run-buildbot
===================================================================
--- libcxx/utils/ci/run-buildbot
+++ libcxx/utils/ci/run-buildbot
@@ -399,6 +399,23 @@
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
check-cxx-cxxabi
;;
+# Aka Armv8 32 bit
+armv8)
+ clean
+ generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8.cmake" \
+ -DCMAKE_CXX_FLAGS="-marm" \
+ -DCMAKE_C_FLAGS="-marm"
+ check-cxx-cxxabi
+;;
+armv8-noexceptions)
+ clean
+ generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Armv8.cmake" \
+ -DCMAKE_CXX_FLAGS="-mthumb" \
+ -DCMAKE_C_FLAGS="-mthumb" \
+ -DLIBCXX_ENABLE_EXCEPTIONS=OFF \
+ -DLIBCXXABI_ENABLE_EXCEPTIONS=OFF
+ check-cxx-cxxabi
+;;
*)
echo "${BUILDER} is not a known configuration"
exit 1
Index: libcxx/cmake/caches/Armv8.cmake
===================================================================
--- /dev/null
+++ libcxx/cmake/caches/Armv8.cmake
@@ -0,0 +1,2 @@
+set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
+set(LIBCXX_TARGET_TRIPLE "armv8-linux-gnueabi" CACHE STRING "")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98019.328441.patch
Type: text/x-patch
Size: 1095 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210305/e78c5362/attachment.bin>
More information about the libcxx-commits
mailing list