summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Collins <rbtcollins@hp.com>2015-04-25 12:47:26 +1200
committerRobert Collins <rbtcollins@hp.com>2015-04-28 10:36:49 +1200
commit5b1ad235cdd34db4af1c69ccfb79e167d7426d5c (patch)
tree1e99dae31ffeeb85f543dd664b75918a2f3255ea
parent893fb86de96a2eb6a7a9acf145be8f9737972ba1 (diff)
downloadpbr-5b1ad235cdd34db4af1c69ccfb79e167d7426d5c.tar.gz
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
-rw-r--r--tools/integration.sh6
1 files 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