aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Bill Feng <yfen@google.com>2018-11-26 10:10:53 -0800
committerGravatar Bill Feng <yfen@google.com>2018-11-26 10:10:53 -0800
commit70f9992d77e67f90234b079eabaa33210d866c87 (patch)
treecac828979cdfdb51087ed1cbdd991f44c7e1a908 /third_party
parent3391245e739f587ded080aa62b104af1d66f0b79 (diff)
modified execution platform registration, added host platform
Diffstat (limited to 'third_party')
-rw-r--r--third_party/toolchains/BUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/toolchains/BUILD b/third_party/toolchains/BUILD
index 7506c6a1fb..39699f3112 100644
--- a/third_party/toolchains/BUILD
+++ b/third_party/toolchains/BUILD
@@ -74,6 +74,28 @@ platform(
""",
)
+platform(
+ name = "host_platform-large",
+ constraint_values = [
+ "//third_party/toolchains/machine_size:large",
+ ],
+ cpu_constraints = [
+ "@bazel_tools//platforms:x86_32",
+ "@bazel_tools//platforms:x86_64",
+ "@bazel_tools//platforms:ppc",
+ "@bazel_tools//platforms:arm",
+ "@bazel_tools//platforms:aarch64",
+ "@bazel_tools//platforms:s390x",
+ ],
+ host_platform = True,
+ os_constraints = [
+ "@bazel_tools//platforms:osx",
+ "@bazel_tools//platforms:freebsd",
+ "@bazel_tools//platforms:linux",
+ "@bazel_tools//platforms:windows",
+ ],
+)
+
# This target is auto-generated from release/cpp.tpl and should not be
# modified directly.
toolchain(