Skip to content

Commit 71293cd

Browse files
Fix ios_multi_cpus
1 parent 5699172 commit 71293cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apple/internal/transition_support.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def _command_line_options(
248248

249249
default_platforms = [settings[_CPU_TO_DEFAULT_PLATFORM_FLAG[cpu]]] if _is_bazel_7 else []
250250
return {
251+
"//command_line_option:ios_multi_cpus": environment_arch if platform_type == "ios" and environment_arch else [],
251252
build_settings_labels.use_tree_artifacts_outputs: force_bundle_outputs if force_bundle_outputs else settings[build_settings_labels.use_tree_artifacts_outputs],
252253
"//command_line_option:apple configuration distinguisher": "applebin_" + platform_type,
253254
"//command_line_option:apple_platform_type": platform_type,
@@ -413,6 +414,7 @@ _apple_rule_base_transition_outputs = [
413414
"//command_line_option:apple_split_cpu",
414415
"//command_line_option:compiler",
415416
"//command_line_option:cpu",
417+
"//command_line_option:ios_multi_cpus",
416418
"//command_line_option:crosstool_top",
417419
"//command_line_option:fission",
418420
"//command_line_option:grte_top",
@@ -425,7 +427,6 @@ _apple_rule_base_transition_outputs = [
425427
"@build_bazel_rules_swift//swift:emit_swiftinterface",
426428
]
427429
_apple_universal_binary_rule_transition_outputs = _apple_rule_base_transition_outputs + [
428-
"//command_line_option:ios_multi_cpus",
429430
"//command_line_option:macos_cpus",
430431
"//command_line_option:tvos_cpus",
431432
"//command_line_option:watchos_cpus",

0 commit comments

Comments
 (0)