diff options
author | Robert Collins <rbtcollins@hp.com> | 2015-04-25 12:47:26 +1200 |
---|---|---|
committer | Robert Collins <rbtcollins@hp.com> | 2015-04-28 10:36:49 +1200 |
commit | 5b1ad235cdd34db4af1c69ccfb79e167d7426d5c (patch) | |
tree | 1e99dae31ffeeb85f543dd664b75918a2f3255ea | |
parent | 893fb86de96a2eb6a7a9acf145be8f9737972ba1 (diff) | |
download | pbr-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.sh | 6 |
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 |