[libcxx-commits] [PATCH] D109593: WIP: [libcxx] Add a CI configuration for standalone building in llvm-project/runtimes
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Sep 10 04:41:57 PDT 2021
mstorsjo created this revision.
mstorsjo added reviewers: phosek, ldionne.
Herald added subscribers: arichardson, mgorny.
mstorsjo requested review of this revision.
Herald added projects: libc++, LLVM.
Herald added a reviewer: libc++.
Herald added a subscriber: llvm-commits.
This consists of essentially two changes:
- Set up more things needed when running tests; include the llvm-lit directory, set LLVM_DEFAULT_TARGET_TRIPLE, make sure that LLVM_MAIN_SRC_DIR is set
- Move certain settings from llvm-project/runtimes to llvm-project/llvm/runtimes. Only set LLVM_RUNTIMES_BUILD if invoked from llvm/runtimes, otherwise the build works as fairly normal standalone build. Don't try to forcibly add -nostdinc++ -nostdlib++ in llvm-project/runtimes. If llvm-project/runtimes is used for building runtimes standalone, one can be building that with e.g. GCC, and we can't assume clang-specific options without a check.
Plus the change to libcxx ci to add the new build configuration of course.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D109593
Files:
libcxx/utils/ci/buildkite-pipeline.yml
libcxx/utils/ci/run-buildbot
llvm/runtimes/CMakeLists.txt
runtimes/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109593.371876.patch
Type: text/x-patch
Size: 7351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210910/6a0f6b0c/attachment-0001.bin>
More information about the libcxx-commits
mailing list