From: Willy Tarreau Date: Thu, 10 Jun 2021 05:52:23 +0000 (+0200) Subject: CI: ssl: enable parallel builds for OpenSSL on Linux X-Git-Tag: v2.5-dev1~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6f1498405c9d118aa7df67815d6111738c16e28;p=thirdparty%2Fhaproxy.git CI: ssl: enable parallel builds for OpenSSL on Linux Running the "make all" phase on my machine with -j$(nproc) shrinks the build time from 4'52 to 1'28. It will not be that big of a change in the CI since it looks like two CPUs are exposed, but it should still remain a net win. Let's enable it. The install phase obviously remains sequential however. --- diff --git a/scripts/build-ssl.sh b/scripts/build-ssl.sh index 9a6a2b2410..b36593e4e6 100755 --- a/scripts/build-ssl.sh +++ b/scripts/build-ssl.sh @@ -21,7 +21,8 @@ build_openssl_linux () { ( cd "openssl-${OPENSSL_VERSION}/" ./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY - make all install_sw + make -j$(nproc) all + make install_sw ) }