kse-01/tensorflow/third_party/remote_config/BUILD.tpl
github-classroom[bot] 1122cdd8b0
Initial commit
2023-10-09 11:37:31 +00:00

26 lines
849 B (Stored with Git LFS)
Smarty

# Each platform creates a constraint @<platform>//:platform_constraint that
# is listed in its constraint_values; rule that want to select a specific
# platform to run on can put @<platform>//:platform_constraing into their
# exec_compatible_with attribute.
# Toolchains can similarly be marked with target_compatible_with or
# exec_compatible_with to bind them to this platform.
constraint_setting(
name = "platform_setting"
)
constraint_value(
name = "platform_constraint",
constraint_setting = ":platform_setting",
visibility = ["//visibility:public"],
)
platform(
name = "platform",
visibility = ["//visibility:public"],
constraint_values = [
"@bazel_tools//platforms:%{cpu}",
"@bazel_tools//platforms:%{platform}",
":platform_constraint",
],
exec_properties = %{exec_properties},
)