Skip to content

Commit

Permalink
Bazel 5 still refers to M1 as aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenOnarayanan committed Nov 4, 2022
1 parent 374c3dc commit 1573ef1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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"],
Expand Down

0 comments on commit 1573ef1

Please sign in to comment.