-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[drake_bazel_...] Cleanups for bazel version
drake_bazel_download and drake_bazel_external: - Install bazelisk (instead of using the bazel apt site) so that we can pin to a specific version. We use a separate script for this so that users have control over whether or not they want to install our version (and so that file_sync_test retains its governance over various files). - Use .bazelversion (not .bazeliskrc) to pin a bazel version. When using bazelisk, this is the more canonical approach. Cover the version dotfile with file_sync_test. - Upgrade bazel to latest release 7.4.1. - Add missing file_sync_test coverage of ci_build_test. drake_bazel_download: - Upgrade rules_cc to latest 0.0.x release 0.0.17. - Upgrade rules_python to latest release 0.40.0. drake_bazel_external: - Opt-out of bzlmod. drake_cmake_external: - Remove unnecessary bazel installation.
- Loading branch information
1 parent
bd3ec3a
commit 10b5d9c
Showing
15 changed files
with
71 additions
and
31 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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# TODO(jwnimmer-tri) Drake's install_prereqs script should offer to perform | ||
# this install step for us, but it doesn't -- so we need this work-around | ||
# in the meantime. | ||
|
||
set -euxo pipefail | ||
|
||
if [[ "${EUID:-}" -ne 0 ]]; then | ||
echo 'This script must be run as root' >&2 | ||
exit 2 | ||
fi | ||
|
||
wget -O bazelisk.deb \ | ||
https://github.com/bazelbuild/bazelisk/releases/download/v1.24.0/bazelisk-amd64.deb | ||
dpkg -i bazelisk.deb | ||
rm -f bazelisk.deb |
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
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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# TODO(jwnimmer-tri) Drake's install_prereqs script should offer to perform | ||
# this install step for us, but it doesn't -- so we need this work-around | ||
# in the meantime. | ||
|
||
set -euxo pipefail | ||
|
||
if [[ "${EUID:-}" -ne 0 ]]; then | ||
echo 'This script must be run as root' >&2 | ||
exit 2 | ||
fi | ||
|
||
wget -O bazelisk.deb \ | ||
https://github.com/bazelbuild/bazelisk/releases/download/v1.24.0/bazelisk-amd64.deb | ||
dpkg -i bazelisk.deb | ||
rm -f bazelisk.deb |
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
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
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