Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,5 @@ build:omp --linkopt=-fopenmp

# use python3 by default
build --python_path=python3

common --noenable_bzlmod
4 changes: 2 additions & 2 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ workspace(name = "dairlib")
# export DAIRLIB_LOCAL_DRAKE_PATH=/home/user/workspace/drake

# Choose a revision of Drake to use.
DRAKE_COMMIT = "v1.22.0"
DRAKE_COMMIT = "v1.33.0"

DRAKE_CHECKSUM = "78cf62c177c41f8415ade172c1e6eb270db619f07c4b043d5148e1f35be8da09"
DRAKE_CHECKSUM = "2713ad1ea53ed7b9cfe1ba751eeeab7dc173408753ead21b7bafb0436b92dcf3"
# Before changing the COMMIT, temporarily uncomment the next line so that Bazel
# displays the suggested new value for the CHECKSUM.
#DRAKE_CHECKSUM = "0" * 64
Expand Down
4 changes: 3 additions & 1 deletion install/install_prereqs_jammy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@ touch install_prereqs_user_environment.sh
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/source_distribution/packages-${ubuntu_codename}.txt"
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/source_distribution/packages-${ubuntu_codename}-clang.txt"
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/source_distribution/packages-${ubuntu_codename}-test-only.txt"
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/source_distribution/install_bazelisk.sh"
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/source_distribution/install_bazel.sh"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line gives an error:

--2025-05-19 16:11:57--  https://raw.githubusercontent.com/RobotLocomotion/drake/v1.33.0/setup/ubuntu/source_distribution/install_bazel.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 2606:50c0:8000::154, 2606:50c0:8003::154, 2606:50c0:8001::154, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|2606:50c0:8000::154|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-05-19 16:11:58 ERROR 404: Not Found.

However this isn't consequential given install_bazelisk.sh does successfully install. This might've been written this way to accommodate many versions of Drake that have only one or the other. Seems fine to leave to me.

cd ..
mkdir binary_distribution
cd binary_distribution
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/binary_distribution/install_prereqs.sh"
wget "https://raw.githubusercontent.com/RobotLocomotion/drake/${DRAKE_COMMIT}/setup/ubuntu/binary_distribution/packages-${ubuntu_codename}.txt"
cd ..
chmod +x install_prereqs.sh
./install_prereqs.sh
./install_prereqs.sh --with-bazel
cd ..
rm -rf tmp/
# In addition to drake, install lcm and libbot2
Expand Down