We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb356d3 commit 9adbaceCopy full SHA for 9adbace
utils/build-script-impl
@@ -2792,7 +2792,11 @@ for host in "${ALL_HOSTS[@]}"; do
2792
if [[ "${LLVM_INSTALL_COMPONENTS}" == "all" ]] ; then
2793
INSTALL_TARGETS=install
2794
elif [[ -n "${LLVM_INSTALL_COMPONENTS}" ]] ; then
2795
- INSTALL_TARGETS=install-$(echo ${LLVM_INSTALL_COMPONENTS} | sed -E 's/;/ install-/g')
+ if [[ $(is_cross_tools_host ${host}) && "${LLVM_INSTALL_COMPONENTS}" == *"compiler-rt"* ]]; then
2796
+ INSTALL_TARGETS=install-$(echo ${LLVM_INSTALL_COMPONENTS} | sed -E 's/compiler-rt;//g' |sed -E 's/;/ install-/g')
2797
+ else
2798
+ INSTALL_TARGETS=install-$(echo ${LLVM_INSTALL_COMPONENTS} | sed -E 's/;/ install-/g')
2799
+ fi
2800
fi
2801
;;
2802
libcxx)
0 commit comments