You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
629 B
29 lines
629 B
# Standard cpu name constraint_setting and constraint_values
|
|
licenses(["notice"])
|
|
|
|
package(
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm",
|
|
constraint_setting = "@platforms//cpu:cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm64",
|
|
constraint_setting = "@platforms//cpu:cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "x86",
|
|
constraint_setting = "@platforms//cpu:cpu",
|
|
)
|
|
|
|
# Alias to the local_jdk's toolchain constraint to make local_jdk resolve
|
|
# correctly with --tool_java_runtime_version=local_jdk and the checked-in JDK.
|
|
alias(
|
|
name = "x86_64",
|
|
actual = "@platforms//cpu:x86_64"
|
|
)
|