mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-27 08:01:15 +00:00
CI: ssl: keep the old method for ancient OpenSSL versions
I forgot about OpenSSL 1.0.2, which neither supports the build_sw target to build only the software, nor reliably supports parallel builds. Given that we're building 1.0.2 and 3.0.0, let's stay on the safe side and keep 1.x sequential.
This commit is contained in:
parent
f4b9801f05
commit
cbc0c232bf
@ -17,11 +17,17 @@ download_openssl () {
|
||||
fi
|
||||
}
|
||||
|
||||
# recent openssl versions support parallel builds and skipping the docs,
|
||||
# while older ones require to build everything sequentially.
|
||||
build_openssl_linux () {
|
||||
(
|
||||
cd "openssl-${OPENSSL_VERSION}/"
|
||||
./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY
|
||||
make -j$(nproc) build_sw
|
||||
if [ -z "${OPENSSL_VERSION##1.*}" ]; then
|
||||
make all
|
||||
else
|
||||
make -j$(nproc) build_sw
|
||||
fi
|
||||
make install_sw
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user