File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -240,6 +240,7 @@ KNOWN_SETTINGS=(
240
240
clang-profile-instr-use " " " If set, profile file to use for clang PGO"
241
241
coverage-db " " " If set, coverage database to use when prioritizing testing"
242
242
build-toolchain-only " " " If set, only build the necessary tools to build an external toolchain"
243
+ skip-local-host-install " " " If we are cross-compiling multiple targets, skip an install pass locally if the hosts match"
243
244
)
244
245
245
246
# Centralized access point for traced command invocation.
@@ -2799,6 +2800,11 @@ for host in "${ALL_HOSTS[@]}"; do
2799
2800
continue
2800
2801
fi
2801
2802
2803
+ # Skip this pass if flag is set and we are cross compiling and it's the local host.
2804
+ if [[ " ${SKIP_LOCAL_HOST_INSTALL} " ]] && [[ $( has_cross_compile_hosts) ]] && [[ ${host} == ${LOCAL_HOST} ]]; then
2805
+ continue
2806
+ fi
2807
+
2802
2808
# Calculate the directory to install products in to.
2803
2809
host_install_destdir=$( get_host_install_destdir ${host} )
2804
2810
host_install_prefix=$( get_host_install_prefix ${host} )
You can’t perform that action at this time.
0 commit comments