File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -117,16 +117,16 @@ else
117117 echo " NOT building TFLite - this is a release only bot."
118118fi
119119
120- wget --quiet https://raw.githubusercontent.com/google/ml-compiler-opt/main/Pipfile \
121- || on_error " failed to get Pipfile"
122- wget --quiet https://raw.githubusercontent.com/google/ml-compiler-opt/main/Pipfile.lock \
123- || on_error " failed to get Pipfile.lock"
120+ sudo -u buildbot git clone https://github.com/google/ml-compiler-opt || on_error " failed to clone ml-compiler-opt repo"
121+ pushd ml-compiler-opt
124122
125- # install the tf pip package for the AOT ("release" scenario).
123+ # install the tf pip package for the AOT ("release" scenario) and for test model builds .
126124sudo -u buildbot python3 -m pip install --break-system-packages pipenv
127125echo installed pipenv
128126sudo -u buildbot python3 versioned_pipenv sync --extra-pip-args=" --break-system-packages" --categories " packages dev-packages" --system
129127echo used pipenv
128+ popd
129+
130130python3 -m pip install --break-system-packages buildbot-worker==2.9.0
131131echo installed buildbot worker
132132
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ print(f"using lockfile {versioned_lockfile}")
1313print (f"args: { my_args } " )
1414
1515shutil .copy (versioned_lockfile , lockfile )
16- subprocess .check_call (["pipenv" ] + my_args )
16+ subprocess .check_call ([sys . executable , "-m" , "pipenv" ] + my_args )
You can’t perform that action at this time.
0 commit comments