Skip to content

Commit

Permalink
Speed up building bundled OpenSSL (pyenv#3124)
Browse files Browse the repository at this point in the history
* Skip building bundled OpneSSL unnecessary parts
* Remove bundled OpneSSL build hack: no longer needed
  • Loading branch information
native-api authored Dec 7, 2024
1 parent ee84e89 commit 4c90a31
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions plugins/python-build/bin/python-build
Original file line number Diff line number Diff line change
Expand Up @@ -1594,11 +1594,7 @@ build_package_mac_openssl() {
[[ "$1" != openssl-1.0.* ]] || nokerberos=1

# Compile a shared lib with zlib dynamically linked.
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-ssl3 shared ${nokerberos:+no-ssl2 no-krb5}

# Default MAKE_OPTS are -j 2 which can confuse the build. Thankfully, make
# gives precedence to the last -j option, so we can override that.
package_option openssl make -j 1
package_option openssl configure --openssldir="$OPENSSLDIR" zlib-dynamic no-ssl3 shared ${nokerberos:+no-ssl2 no-krb5} no-docs no-apps no-tests

build_package_standard "$@"

Expand Down

0 comments on commit 4c90a31

Please sign in to comment.