Build cassandra-driver with concurrency

The cassandra driver is far and away the longest package we build. It
normally takes 3-4 minutes *after* all the other packages have built to
finish. The recommendation for this is to increase the build concurrency
with the variable above.

Change-Id: I3965f62525d509e8811ed65c599d55b558ce39e4
This commit is contained in:
Sam Yaple 2017-10-22 15:14:14 -04:00
parent 2d10f49678
commit a4991d7715
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ fi
# NOTE(SamYaple): Build all deps in parallel. This is safe because we are
# constrained on the version and we are building with --no-deps
export CASS_DRIVER_BUILD_CONCURRENCY=8
pushd $(mktemp -d)
split -l1 /upper-constraints.txt
ls -1 | xargs -n1 -P20 -t pip wheel --no-deps --wheel-dir / -c /upper-constraints.txt -r | tee /tmp/wheels.txt