Skip to content

Commit

Permalink
Install pytype on buildbot (#335)
Browse files Browse the repository at this point in the history
This patch installs the development dependencies on the buildbot in
addition to the normal python dependencies so that we have pytype
available. This is necessary for running the pytype tests recently added
on the LLVM side so we can prevent regressions while waiting for
precommit CI to be implemented on the LLVM side.
  • Loading branch information
boomanaiden154 authored Jan 26, 2024
1 parent 7a62027 commit 3c28fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildbot/buildbot_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ wget --quiet https://raw.githubusercontent.com/google/ml-compiler-opt/main/Pipfi

# install the tf pip package for the AOT ("release" scenario).
sudo -u buildbot python3 -m pip install pipenv
sudo -u buildbot python3 -m pipenv sync --system
sudo -u buildbot python3 -m pipenv sync --categories "packages dev-packages" --system
python3 -m pip install buildbot-worker==2.9.0

TF_PIP=$(sudo -u buildbot python3 -c "import tensorflow as tf; import os; print(os.path.dirname(tf.__file__))")
Expand Down

0 comments on commit 3c28fa5

Please sign in to comment.