peridot/platforms/BUILD

44 lines
698 B
Python
Raw Normal View History

2022-07-07 20:11:50 +00:00
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",
],
)