Skip to content

Commit

Permalink
Use less disk when building wheels. (tensorflow#1162)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldemarmiesse authored Feb 27, 2020
1 parent e797b91 commit 9c6816f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tools/ci_build/builds/release_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ for version in ${PYTHON_VERSIONS}; do
python3 get-pip.py -q
python3 -m pip --version

# tenmporary fix for "no space available on github actions"
python3 -m pip install --no-cache-dir \
-r build_deps/build-requirements.txt \
-r requirements.txt

#Link TF dependency
python3 ./configure.py --quiet

Expand All @@ -62,6 +67,9 @@ for version in ${PYTHON_VERSIONS}; do

# Package Whl
bazel-bin/build_pip_pkg artifacts ${PKG_OPS}

# tenmporary fix for "no space available on github actions"
python3 -m pip uninstall -y tensorflow
done

# Clean up
Expand Down

0 comments on commit 9c6816f

Please sign in to comment.