Build all the wheels in one pass rather than many.

pip tries to build all wheels, and can avoid re-processing all the
requirements over the network N times - basically quadratic down to
linear scaling.

Change-Id: I69441b2378bf4f165d0b475cd16a9e56797df575
This commit is contained in:
Robert Collins 2015-04-25 12:47:26 +12:00
parent 893fb86de9
commit 5b1ad235cd
1 changed files with 2 additions and 4 deletions

View File

@ -59,10 +59,8 @@ fi
# Not all packages properly build wheels (httpretty for example).
# Do our best but ignore errors when making wheels.
set +e
grep -v '^#' $REPODIR/requirements/global-requirements.txt | while read req
do
$tmpdir/wheelhouse/bin/pip $PIPFLAGS wheel -w $WHEELHOUSE -f $WHEELHOUSE "$req"
done
$tmpdir/wheelhouse/bin/pip $PIPFLAGS wheel -w $WHEELHOUSE -f $WHEELHOUSE -r \
$REPODIR/requirements/global-requirements.txt
set -e
#BRANCH