From 5b1ad235cdd34db4af1c69ccfb79e167d7426d5c Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Sat, 25 Apr 2015 12:47:26 +1200 Subject: 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 --- tools/integration.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/integration.sh b/tools/integration.sh index 51e64e7..8f68800 100644 --- a/tools/integration.sh +++ b/tools/integration.sh @@ -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 -- cgit v1.2.1