- exit_status: -1 # Agent was lost
limit: 2
- - label: "GCC Current/C++20"
+ - label: "GCC 11"
command: "libcxx/utils/ci/run-buildbot generic-gcc"
artifact_paths:
- "**/test-results.xml"
#
- wait
+ - label: "Clang 11"
+ command: "libcxx/utils/ci/run-buildbot generic-clang-11"
+ artifact_paths:
+ - "**/test-results.xml"
+ agents:
+ queue: "libcxx-builders"
+ retry:
+ automatic:
+ - exit_status: -1 # Agent was lost
+ limit: 2
+
+ - label: "Clang 12"
+ command: "libcxx/utils/ci/run-buildbot generic-clang-12"
+ artifact_paths:
+ - "**/test-results.xml"
+ agents:
+ queue: "libcxx-builders"
+ retry:
+ automatic:
+ - exit_status: -1 # Agent was lost
+ limit: 2
+
- label: "-fno-exceptions"
command: "libcxx/utils/ci/run-buildbot generic-noexceptions"
artifact_paths:
python3 libcxx/utils/graph_header_deps.py >/dev/null
;;
generic-cxx03)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx03.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-cxx11)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx11.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-cxx14)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx14.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-cxx17)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx17.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-cxx20)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx20.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-cxx2b)
- export CC=clang-tot
- export CXX=clang++-tot
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-cxx2b.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-shared.cfg.in"
check-abi-list
;;
generic-assertions)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-assertions.cmake"
check-cxx-cxxabi
check-abi-list
;;
generic-debug-iterators)
- export CC=clang-tot
- export CXX=clang++-tot
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-debug-iterators.cmake"
check-cxx-cxxabi
check-abi-list
;;
generic-noexceptions)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-noexceptions.cmake"
check-cxx-cxxabi
;;
generic-modules)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-modules.cmake"
check-cxx-cxxabi
;;
generic-static)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-static.cmake" \
-DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/libcxx-trunk-static.cfg.in"
check-cxx-cxxabi
;;
generic-32bit)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-32bits.cmake"
check-cxx-cxxabi
;;
+generic-clang-11)
+ export CC=clang-11
+ export CXX=clang++-11
+ clean
+ generate-cmake
+ check-cxx-cxxabi
+;;
+generic-clang-12)
+ export CC=clang-12
+ export CXX=clang++-12
+ clean
+ generate-cmake
+ check-cxx-cxxabi
+;;
generic-gcc)
export CC=gcc-11
export CXX=g++-11
check-cxx-cxxabi
;;
generic-asan)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-asan.cmake"
check-cxx-cxxabi
;;
generic-msan)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-msan.cmake"
check-cxx-cxxabi
;;
generic-tsan)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-tsan.cmake"
check-cxx-cxxabi
;;
generic-ubsan)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-ubsan.cmake"
check-cxx-cxxabi
;;
generic-with_llvm_unwinder)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -DLIBCXXABI_USE_LLVM_UNWINDER=ON
check-cxx-cxxabi
;;
generic-singlethreaded)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-singlethreaded.cmake"
check-cxx-cxxabi
;;
generic-no-debug)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-debug.cmake"
check-cxx-cxxabi
;;
generic-no-filesystem)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-filesystem.cmake"
check-cxx-cxxabi
;;
generic-no-random_device)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-random_device.cmake"
check-cxx-cxxabi
;;
generic-no-localization)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-no-localization.cmake"
check-cxx-cxxabi
;;
x86_64-apple-system)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake"
check-cxx-cxxabi
;;
x86_64-apple-system-noexceptions)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \
-DLIBCXX_ENABLE_EXCEPTIONS=OFF \
PARAMS+=";abi_runtime_root=${OSX_ROOTS}/macOS/libc++abi/${DEPLOYMENT_TARGET}"
PARAMS+=";use_system_cxx_lib=True"
- export CC=clang
- export CXX=clang++
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Apple.cmake" \
-DLIBCXX_TEST_PARAMS="${PARAMS}" \
-DLIBCXXABI_TEST_PARAMS="${PARAMS}"
check-cxx-cxxabi
;;
benchmarks)
- export CC=clang
- export CXX=clang++
clean
generate-cmake
check-cxx-benchmarks
;;
documentation)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -DLLVM_ENABLE_SPHINX=ON
${NINJA} -vC "${BUILD_DIR}" docs-libcxx-html
;;
unified-standalone)
- export CC=clang
- export CXX=clang++
clean
check-cxx-cxxabi
;;
runtimes-build)
- export CC=clang
- export CXX=clang++
-
clean
echo "--- Generating CMake"
${NINJA} -C "${BUILD_DIR}" install-runtimes
;;
legacy-test-config)
- export CC=clang
- export CXX=clang++
clean
generate-cmake -DLIBCXX_TEST_CONFIG="${MONOREPO_ROOT}/libcxx/test/configs/legacy.cfg.in"
check-cxx-cxxabi
;;
legacy-standalone)
- export CC=clang
- export CXX=clang++
-
clean
echo "--- Generating CMake"