Enable parallel compilation for all extensions

pull/323/head
Michele Locati 2021-03-14 21:53:55 +01:00
parent 74f8d87521
commit 7d4f346612
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
1 changed files with 5 additions and 5 deletions

View File

@ -1104,13 +1104,13 @@ setTargetTriplet() {
# The number of processors to be used # The number of processors to be used
getCompilationProcessorCount() { getCompilationProcessorCount() {
case "$1" in case "$1" in
amqp | bcmath | bz2 | calendar | decimal | excimer | exif | gd | geospatial | gettext | gmagick | grpc | http | imagick | intl | mysqli | opcache | pcntl | pdo_mysql | protobuf | raphf | redis | ssh2 | soap | sockets | tensor | tidy | xdebug | xmlrpc | xsl | yaml | zip) '')
# These extensions support parallel compilation # The above extensions don't support parallel compilation
getProcessorCount echo 1
;; ;;
*) *)
# We don't know - it's safer to disable parallel compilation # All the other extensions support parallel compilation
echo 1 getProcessorCount
;; ;;
esac esac
} }