mirror of
https://github.com/bazelbuild/platforms
synced 2024-11-28 15:33:39 +00:00
e50397c444
RELNOTES: None PiperOrigin-RevId: 260771264 Change-Id: I85439e1dbf607bd689d14a7c1d8d8e3762f720be
85 lines
1.3 KiB
Python
85 lines
1.3 KiB
Python
# Standard cpu name constraint_setting and constraint_values
|
|
licenses(["notice"])
|
|
|
|
package(
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "srcs",
|
|
srcs = glob(["**"]),
|
|
)
|
|
|
|
# To add a new constraint_value see https://github.com/bazelbuild/platforms.
|
|
constraint_setting(name = "cpu")
|
|
|
|
constraint_value(
|
|
name = "aarch64",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm64_32",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm64",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "arm64e",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "armv6",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "armv7",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "armv7k",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "armv7s",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "i386",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "ppc",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "s390x",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "x86_32",
|
|
constraint_setting = ":cpu",
|
|
)
|
|
|
|
constraint_value(
|
|
name = "x86_64",
|
|
constraint_setting = ":cpu",
|
|
)
|