mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-18 11:40:50 +00:00
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.
This commit is contained in:
parent
8727614dc4
commit
c6f1498405
@ -21,7 +21,8 @@ build_openssl_linux () {
|
|||||||
(
|
(
|
||||||
cd "openssl-${OPENSSL_VERSION}/"
|
cd "openssl-${OPENSSL_VERSION}/"
|
||||||
./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY
|
./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY
|
||||||
make all install_sw
|
make -j$(nproc) all
|
||||||
|
make install_sw
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user