-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[drake_bazel_download] Upgrade MODULE.bazel
Upgrade rules_cc to latest 0.0.x release 0.0.17. Upgrade rules_python to latest release 0.40.0; this requires some additional toolchain shenanigans.
- Loading branch information
1 parent
bd3ec3a
commit a4f0249
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
# SPDX-License-Identifier: MIT-0 | ||
|
||
# This is an empty BUILD file, to ensure that this project's root directory is | ||
# a Bazel package. | ||
# 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. | ||
|
||
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", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters