forked from RobotLocomotion/drake-external-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
24 lines (20 loc) · 780 Bytes
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-License-Identifier: MIT-0
# We must opt-out of the py_exec_tools_toolchain, otherwise rules_python will
# download a random copy from the internet that doesn't work correctly in CI.
#
# The py_exec_tools_toolchain is used to byte-compile python sources during
# the build step (vs the first time they are run) for improved performance.
# We don't need that optimization in this project.
load(
"@rules_python//python:py_exec_tools_toolchain.bzl",
"py_exec_tools_toolchain",
)
py_exec_tools_toolchain(
name = "python_no_exec_tools",
exec_interpreter = "@rules_python//python:none",
)
toolchain(
name = "python_no_exec_tools_toolchain",
toolchain = ":python_no_exec_tools",
toolchain_type = "@rules_python//python:exec_tools_toolchain_type",
)