Skip to content

Commit

Permalink
Fix ios_multi_cpus
Browse files Browse the repository at this point in the history
  • Loading branch information
vakhidbetrakhmadov committed Sep 20, 2024
1 parent 5699172 commit 71293cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apple/internal/transition_support.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def _command_line_options(

default_platforms = [settings[_CPU_TO_DEFAULT_PLATFORM_FLAG[cpu]]] if _is_bazel_7 else []
return {
"//command_line_option:ios_multi_cpus": environment_arch if platform_type == "ios" and environment_arch else [],
build_settings_labels.use_tree_artifacts_outputs: force_bundle_outputs if force_bundle_outputs else settings[build_settings_labels.use_tree_artifacts_outputs],
"//command_line_option:apple configuration distinguisher": "applebin_" + platform_type,
"//command_line_option:apple_platform_type": platform_type,
Expand Down Expand Up @@ -413,6 +414,7 @@ _apple_rule_base_transition_outputs = [
"//command_line_option:apple_split_cpu",
"//command_line_option:compiler",
"//command_line_option:cpu",
"//command_line_option:ios_multi_cpus",
"//command_line_option:crosstool_top",
"//command_line_option:fission",
"//command_line_option:grte_top",
Expand All @@ -425,7 +427,6 @@ _apple_rule_base_transition_outputs = [
"@build_bazel_rules_swift//swift:emit_swiftinterface",
]
_apple_universal_binary_rule_transition_outputs = _apple_rule_base_transition_outputs + [
"//command_line_option:ios_multi_cpus",
"//command_line_option:macos_cpus",
"//command_line_option:tvos_cpus",
"//command_line_option:watchos_cpus",
Expand Down

0 comments on commit 71293cd

Please sign in to comment.