Skip to content

Commit

Permalink
Remove visionos_x86_64 support (#2378)
Browse files Browse the repository at this point in the history
Since Apple released this without intel support, I think it's a good
time to remove it
  • Loading branch information
keith authored Jan 22, 2024
1 parent 6ef5ca4 commit 4b5de5c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 14 deletions.
2 changes: 1 addition & 1 deletion apple/internal/visionos_rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1650,7 +1650,7 @@ dependency of other Bazel targets. For that use case, use the corresponding
Unlike other visionos bundles, the fat binary in an `visionos_static_framework` may
simultaneously contain simulator and device architectures (that is, you can
build a single framework artifact that works for all architectures by specifying
`--visionos_cpus=x86_64,arm64` when you build).
`--visionos_cpus=sim_arm64,arm64` when you build).
`visionos_static_framework` supports Swift, but there are some constraints:
Expand Down
2 changes: 1 addition & 1 deletion doc/rules-visionos.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ dependency of other Bazel targets. For that use case, use the corresponding
Unlike other visionos bundles, the fat binary in an `visionos_static_framework` may
simultaneously contain simulator and device architectures (that is, you can
build a single framework artifact that works for all architectures by specifying
`--visionos_cpus=x86_64,arm64` when you build).
`--visionos_cpus=sim_arm64,arm64` when you build).

`visionos_static_framework` supports Swift, but there are some constraints:

Expand Down
8 changes: 0 additions & 8 deletions platform_mappings_visionos
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ platforms:
--apple_platform_type=tvos
--cpu=tvos_arm64

@build_bazel_apple_support//platforms:visionos_x86_64
--apple_platform_type=visionos
--cpu=visionos_x86_64

@build_bazel_apple_support//platforms:visionos_sim_arm64
--apple_platform_type=visionos
--cpu=visionos_sim_arm64
Expand Down Expand Up @@ -128,10 +124,6 @@ flags:
--apple_platform_type=tvos
@build_bazel_apple_support//platforms:tvos_arm64

--cpu=visionos_x86_64
--apple_platform_type=visionos
@build_bazel_apple_support//platforms:visionos_x86_64

--cpu=visionos_sim_arm64
--apple_platform_type=visionos
@build_bazel_apple_support//platforms:visionos_sim_arm64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ analysis_output_group_info_files_test = make_provider_test_rule(
"//command_line_option:macos_cpus": "arm64,x86_64",
"//command_line_option:ios_multi_cpus": "sim_arm64,x86_64",
"//command_line_option:tvos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64",
"//command_line_option:watchos_cpus": "arm64,x86_64",
},
)
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ apple_codesigning_dossier_info_provider_test = make_provider_test_rule(
"//command_line_option:macos_cpus": "arm64,x86_64",
"//command_line_option:ios_multi_cpus": "sim_arm64,x86_64",
"//command_line_option:tvos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64",
"//command_line_option:watchos_cpus": "arm64,x86_64",
},
)
2 changes: 1 addition & 1 deletion test/starlark_tests/rules/apple_dsym_bundle_info_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ created for them as transitive dependencies of the given providers.
"//command_line_option:macos_cpus": "arm64,x86_64",
"//command_line_option:ios_multi_cpus": "sim_arm64,x86_64",
"//command_line_option:tvos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64",
"//command_line_option:watchos_cpus": "arm64,x86_64",
},
)
2 changes: 1 addition & 1 deletion test/starlark_tests/rules/linkmap_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ provided.
"//command_line_option:macos_cpus": "arm64,x86_64",
"//command_line_option:ios_multi_cpus": "sim_arm64,x86_64",
"//command_line_option:tvos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64,x86_64",
"//command_line_option:visionos_cpus": "sim_arm64",
"//command_line_option:watchos_cpus": "arm64,x86_64",
},
fragments = ["apple"],
Expand Down

0 comments on commit 4b5de5c

Please sign in to comment.