diff options
| author | Willy Tarreau <w@1wt.eu> | 2021-06-10 07:52:23 +0200 |
|---|---|---|
| committer | Willy Tarreau <w@1wt.eu> | 2021-06-17 15:16:57 +0200 |
| commit | f4b9801f05d319c263f1919d7167f45bcfbb3989 (patch) | |
| tree | a5f6cb8976a81b0299fe2c4378eef88f885991ee /scripts | |
| parent | c6f1498405c9d118aa7df67815d6111738c16e28 (diff) | |
| download | haproxy-f4b9801f05d319c263f1919d7167f45bcfbb3989.tar.gz | |
CI: ssl: do not needlessly build the OpenSSL docs
1/4 of the OpenSSL build time is spent building the docs, let's just
build the software and not the doc, by replacing the "all" target
with "build_sw". With this my build time drops from 1'28 to 1'09.
Nothing was done for the other libs, as it's unknown whether they
provide specific build targets.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build-ssl.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build-ssl.sh b/scripts/build-ssl.sh index b36593e4e..5342dfc48 100755 --- a/scripts/build-ssl.sh +++ b/scripts/build-ssl.sh @@ -21,7 +21,7 @@ build_openssl_linux () { ( cd "openssl-${OPENSSL_VERSION}/" ./config shared --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY - make -j$(nproc) all + make -j$(nproc) build_sw make install_sw ) } @@ -31,7 +31,7 @@ build_openssl_osx () { cd "openssl-${OPENSSL_VERSION}/" ./Configure darwin64-x86_64-cc shared \ --prefix="${HOME}/opt" --openssldir="${HOME}/opt" -DPURIFY - make depend all install_sw + make depend build_sw install_sw ) } |
