-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
17 lines (16 loc) · 855 Bytes
/
WORKSPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
register_execution_platforms(
# The first toolchain is present to cause targets which were not defined
# to use the custom toolchain to select an execution platform with
# an undefined value for constraint setting nonstandard_toolchain. The
# undefined value will then mismatch the value for nonstandard_toolchain of
# //:simple_x86_64_linux_toolchain (which is simple_cpp_toolchain).
# The dependency of a target on the non-standard toolchain is specified
# by having the exec_compatible_with attribute of the target include
# //nonstandard_toolchain:simple_cpp_toolchain. This causes the first
# execution platform to be rejected during execution platform selection.
"@local_config_platform//:host",
"//:simple_cpp_x86_64_linux_platform"
)
register_toolchains(
"//:simple_x86_64_linux_toolchain"
)