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:
parent
2d10f49678
commit
a4991d7715
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue