[libcxx-commits] [PATCH] D113950: [libcxx] CI: only build native target for bootstrapping-build
Matheus Izvekov via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Nov 16 08:17:54 PST 2021
mizvekov added a comment.
Thanks for the review!
================
Comment at: libcxx/utils/ci/run-buildbot:479
-DLLVM_RUNTIME_TARGETS="$(c++ --print-target-triple)" \
+ -DLLVM_TARGETS_TO_BUILD="host" \
-DRUNTIMES_BUILD_ALLOW_DARWIN=ON \
----------------
ldionne wrote:
> What is the difference between `Native` and `host`?
You can see at `llvm/cmake/config-ix.cmake:497` that Native and host are just synonyms:
```
foreach (NATIVE_KEYWORD host Native)
list(FIND LLVM_TARGETS_TO_BUILD ${NATIVE_KEYWORD} idx)
if( NOT idx LESS 0 )
list(REMOVE_AT LLVM_TARGETS_TO_BUILD ${idx})
list(APPEND LLVM_TARGETS_TO_BUILD ${LLVM_NATIVE_ARCH})
list(REMOVE_DUPLICATES LLVM_TARGETS_TO_BUILD)
endif()
endforeach()
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113950/new/
https://reviews.llvm.org/D113950
More information about the libcxx-commits
mailing list