File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,15 +120,15 @@ sudo -u buildbot python3 -m pip install --upgrade pip
120
120
sudo -u buildbot python3 -m pip install --user -r /tmp/requirements.txt
121
121
python3 -m pip install buildbot-worker==2.9.0
122
122
123
- TF_PIP=$( sudo -u buildbot python3 -m pip show tensorflow | grep Location | cut -d ' ' -f 2 )
123
+ TF_PIP=$( sudo -u buildbot python3 -c " import tensorflow as tf; import os; print(os.path.dirname(tf.__file__)) " )
124
124
125
125
# temp location until zorg updates
126
- sudo -u buildbot ln -s ${TF_PIP} /../ /var/lib/buildbot/.local/lib/python3.7
126
+ sudo -u buildbot ln -s ${TF_PIP} /../../ /var/lib/buildbot/.local/lib/python3.7
127
127
128
128
# location we want
129
- sudo -u buildbot ln -s ${TF_PIP} /../ /tmp/tf-aot
129
+ sudo -u buildbot ln -s ${TF_PIP} /../../ /tmp/tf-aot
130
130
131
- export TENSORFLOW_AOT_PATH=" ${TF_PIP} /tensorflow "
131
+ export TENSORFLOW_AOT_PATH=" ${TF_PIP} "
132
132
133
133
if [ -d " ${TENSORFLOW_AOT_PATH} /xla_aot_runtime_src" ]
134
134
then
You can’t perform that action at this time.
0 commit comments