From 7d4f346612f1026f8b34ea893248949d60d42a83 Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Sun, 14 Mar 2021 21:53:55 +0100 Subject: [PATCH] Enable parallel compilation for all extensions --- install-php-extensions | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install-php-extensions b/install-php-extensions index b1f43b9..befe16c 100755 --- a/install-php-extensions +++ b/install-php-extensions @@ -1104,13 +1104,13 @@ setTargetTriplet() { # The number of processors to be used getCompilationProcessorCount() { 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 - getProcessorCount + '') + # The above extensions don't support parallel compilation + echo 1 ;; *) - # We don't know - it's safer to disable parallel compilation - echo 1 + # All the other extensions support parallel compilation + getProcessorCount ;; esac }