peridot/platforms/BUILD
2022-10-31 03:23:40 +01:00

59 lines
999 B
Text

config_setting(
name = "arm64",
constraint_values = [
"@platforms//cpu:arm64",
],
)
config_setting(
name = "x86_64",
constraint_values = [
"@platforms//cpu:x86_64",
],
)
config_setting(
name = "s390x",
constraint_values = [
"@platforms//cpu:s390x",
],
)
config_setting(
name = "ppc64le",
constraint_values = [
"@platforms//cpu:ppc",
],
)
config_setting(
name = "linux_x86_64",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
)
config_setting(
name = "linux_arm64",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:arm64",
],
)
config_setting(
name = "darwin_x86_64",
constraint_values = [
"@platforms//os:macos",
"@platforms//cpu:x86_64",
],
)
config_setting(
name = "darwin_arm64",
constraint_values = [
"@platforms//os:macos",
"@platforms//cpu:arm64",
],
)