2019-06-06 09:18:26 +00:00
|
|
|
# Standard cpu name constraint_setting and constraint_values
|
|
|
|
licenses(["notice"])
|
|
|
|
|
|
|
|
package(
|
|
|
|
default_visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
filegroup(
|
|
|
|
name = "srcs",
|
|
|
|
srcs = glob(["**"]),
|
|
|
|
)
|
|
|
|
|
2019-06-18 18:15:05 +00:00
|
|
|
# To add a new constraint_value see https://github.com/bazelbuild/platforms.
|
2019-06-06 09:18:26 +00:00
|
|
|
constraint_setting(name = "cpu")
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "x86_32",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "x86_64",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "ppc",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "arm",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "aarch64",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|
|
|
|
|
|
|
|
constraint_value(
|
|
|
|
name = "s390x",
|
|
|
|
constraint_setting = ":cpu",
|
|
|
|
)
|