summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-06-22 22:01:58 +0200
committerStefan Behnel <stefan_ml@behnel.de>2018-06-22 22:01:58 +0200
commitca51f28a329f41670852c3fc2a589b18aa8f659d (patch)
tree97a86026bafb05119db2c41d00f7c1855a562eb8
parent065cd904e2e4211a3356b531b0dbcfebbd408903 (diff)
downloadpython-lxml-ca51f28a329f41670852c3fc2a589b18aa8f659d.tar.gz
Run three parallel wheel builds instead of two.
-rwxr-xr-xtools/manylinux/build-wheels.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/manylinux/build-wheels.sh b/tools/manylinux/build-wheels.sh
index 8bcce7be..63134ced 100755
--- a/tools/manylinux/build-wheels.sh
+++ b/tools/manylinux/build-wheels.sh
@@ -45,16 +45,18 @@ build_wheels() {
test -e "$SDIST" && source="$SDIST" || source=
FIRST=
SECOND=
+ THIRD=
for PYBIN in /opt/python/*/bin; do
# Install build requirements if we need them and file exists
test -n "$source" -o ! -e "$REQUIREMENTS" \
|| ${PYBIN}/pip install -r "$REQUIREMENTS"
build_wheel "$PYBIN" "$source" &
- SECOND=$!
+ THIRD=$!
[ -z "$FIRST" ] || wait ${FIRST}
FIRST=$SECOND
+ SECOND=$THIRD
done
wait
}