-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
de-duplicate openssl build flags (#284)
* de-duplicate openssl build flags * msvc has no 128-bit type * export the flag we need * finish that...
- Loading branch information
1 parent
43912af
commit 4ed91c8
Showing
8 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,14 @@ jobs: | |
- name: Build OpenSSL | ||
run: | | ||
set -x | ||
source ./cryptography-manylinux/openssl-version.sh | ||
mkdir artifact | ||
BASEDIR=$(pwd) | ||
cd openssl* | ||
# Use the brew openssldir so pyopenssl users with homebrew installed will have roots for TLS | ||
# This is obviously not great but we live in an imperfect world. | ||
export CFLAGS="-mmacosx-version-min=10.9 -march=core2" | ||
perl ./Configure --prefix="${BASEDIR}/artifact" --openssldir=/usr/local/etc/[email protected] no-ssl3 no-ssl3-method no-zlib darwin64-x86_64-cc enable-ec_nistp_64_gcc_128 no-shared no-comp no-dynamic-engine | ||
perl ./Configure --prefix="${BASEDIR}/artifact" --openssldir=/usr/local/etc/[email protected] darwin64-x86_64-cc $OPENSSL_BUILD_FLAGS | ||
make -j$(sysctl -n hw.logicalcpu) | ||
make install_sw | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
export OPENSSL_VERSION="openssl-1.1.1g" | ||
export OPENSSL_SHA256="ddb04774f1e32f0c49751e21b67216ac87852ceb056b75209af2443400636d46" | ||
# We need a base set of flags because on Windows using MSVC | ||
# enable-ec_nistp_64_gcc_128 doesn't work since there's no 128-bit type | ||
export OPENSSL_BUILD_FLAGS_WINDOWS="no-ssl3 no-ssl3-method no-zlib no-shared no-comp no-dynamic-engine" | ||
export OPENSSL_BUILD_FLAGS="${OPENSSL_BUILD_FLAGS_WINDOWS} enable-ec_nistp_64_gcc_128" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters