Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel 5 still refers to M1 as aarch64 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Bazel 5 still refers to M1 as aarch64
  • Loading branch information
naveenOnarayanan committed Nov 4, 2022
commit 1573ef1d02a0b1a9c089550c8ce3d95ae5651282
9 changes: 9 additions & 0 deletions cue/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -34,6 +34,14 @@ config_setting(
],
)

config_setting(
name = "darwin_aarch64",
constraint_values = [
"@platforms//os:macos",
"@platforms//cpu:aarch64",
],
)

config_setting(
name = "windows_x86_64",
constraint_values = [
@@ -58,6 +66,7 @@ genrule(
"//cue:windows_x86_64": ["@cue_runtime_windows_x86_64//:cue"],
"//cue:linux_arm64": ["@cue_runtime_linux_arm64//:cue"],
"//cue:darwin_arm64": ["@cue_runtime_darwin_arm64//:cue"],
"//cue:darwin_aarch64": ["@cue_runtime_darwin_arm64//:cue"],
"//cue:windows_arm64": ["@cue_runtime_windows_arm64//:cue"],
}),
outs = ["bin/cue"],