peridot/platforms/BUILD
2022-07-07 22:13:21 +02:00

44 lines
698 B
Python

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",
],
)
platform(
name = "linux_x86_64",
constraint_values = [
"@platforms//os:linux",
"@platforms//cpu:x86_64",
],
)
platform(
name = "darwin_arm64",
constraint_values = [
"@platforms//os:macos",
"@platforms//cpu:arm64",
],
)