summaryrefslogtreecommitdiff
path: root/libcxx/utils
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-04-21 05:48:10 +0200
committerNikolas Klauser <n_klauser@apple.com>2023-04-26 13:11:25 -0700
commit244560329603e8e1b1c6e72654b4292fec52ed8b (patch)
tree581a7a327eb94fc0524b1dbab1e2dcd5e8464ba0 /libcxx/utils
parentf7e58c91587be78e80abb7f650dcb5c0b4205730 (diff)
downloadllvm-244560329603e8e1b1c6e72654b4292fec52ed8b.tar.gz
[libc++][PSTL] Integrate the headers and add a CI job
Reviewed By: ldionne, #libc Spies: libcxx-commits, arichardson Differential Revision: https://reviews.llvm.org/D141780
Diffstat (limited to 'libcxx/utils')
-rw-r--r--libcxx/utils/ci/buildkite-pipeline.yml16
-rwxr-xr-xlibcxx/utils/ci/run-buildbot5
-rw-r--r--libcxx/utils/libcxx/test/features.py1
3 files changed, 22 insertions, 0 deletions
diff --git a/libcxx/utils/ci/buildkite-pipeline.yml b/libcxx/utils/ci/buildkite-pipeline.yml
index 474138d21f4f..f489302a5570 100644
--- a/libcxx/utils/ci/buildkite-pipeline.yml
+++ b/libcxx/utils/ci/buildkite-pipeline.yml
@@ -463,6 +463,22 @@ steps:
limit: 2
timeout_in_minutes: 120
+ - label: "With PSTL support"
+ command: "libcxx/utils/ci/run-buildbot with-pstl"
+ artifact_paths:
+ - "**/test-results.xml"
+ env:
+ CC: "clang-${LLVM_HEAD_VERSION}"
+ CXX: "clang++-${LLVM_HEAD_VERSION}"
+ agents:
+ queue: "libcxx-builders"
+ os: "linux"
+ retry:
+ automatic:
+ - exit_status: -1 # Agent was lost
+ limit: 2
+ timeout_in_minutes: 120
+
- label: "With LLVM's libunwind"
command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder"
artifact_paths:
diff --git a/libcxx/utils/ci/run-buildbot b/libcxx/utils/ci/run-buildbot
index cd70d73a52f5..34e3792efd5d 100755
--- a/libcxx/utils/ci/run-buildbot
+++ b/libcxx/utils/ci/run-buildbot
@@ -448,6 +448,11 @@ generic-abi-unstable)
generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/Generic-abi-unstable.cmake"
check-runtimes
;;
+with-pstl)
+ clean
+ generate-cmake -C "${MONOREPO_ROOT}/libcxx/cmake/caches/With-pstl.cmake"
+ check-runtimes
+;;
apple-system)
clean
diff --git a/libcxx/utils/libcxx/test/features.py b/libcxx/utils/libcxx/test/features.py
index dd5163f84445..49f5e7033432 100644
--- a/libcxx/utils/libcxx/test/features.py
+++ b/libcxx/utils/libcxx/test/features.py
@@ -209,6 +209,7 @@ macros = {
'_LIBCPP_HAS_NO_WIDE_CHARACTERS': 'no-wide-characters',
'_LIBCPP_HAS_NO_UNICODE': 'libcpp-has-no-unicode',
'_LIBCPP_ENABLE_DEBUG_MODE': 'libcpp-has-debug-mode',
+ '_LIBCPP_HAS_PARALLEL_ALGORITHMS': 'with-pstl',
}
for macro, feature in macros.items():
DEFAULT_FEATURES.append(