Skip to content

Commit

Permalink
update wheel builder script for static linking on linux (pyca#3811)
Browse files Browse the repository at this point in the history
We don't need to do an LD_LIBRARY_PATH when calling auditwheel because
we're now statically linking OpenSSL.
  • Loading branch information
reaperhulk authored and alex committed Jul 25, 2017
1 parent 7377fae commit 7ad62db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .jenkins/Jenkinsfile-cryptography-wheel-builder
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ def build(version, label, imageName) {
LDFLAGS="-L/opt/pyca/cryptography/openssl/lib" \
CFLAGS="-I/opt/pyca/cryptography/openssl/include" \
$linux32 /opt/python/$version/bin/pip wheel cryptography==$BUILD_VERSION -w tmpwheelhouse/ --no-binary cryptography --no-deps
LD_LIBRARY_PATH="/opt/pyca/cryptography/openssl/lib" \
$linux32 auditwheel repair tmpwheelhouse/cryptography*.whl -w wheelhouse/
$linux32 auditwheel repair tmpwheelhouse/cryptography*.whl -w wheelhouse/
$linux32 /opt/python/$version/bin/pip install cryptography==$BUILD_VERSION --no-index -f wheelhouse/
$linux32 /opt/python/$version/bin/python -c "from cryptography.hazmat.backends.openssl.backend import backend;print('Loaded: ' + backend.openssl_version_text());print('Linked Against: ' + backend._ffi.string(backend._lib.OPENSSL_VERSION_TEXT).decode('ascii'))"
"""
Expand Down

0 comments on commit 7ad62db

Please sign in to comment.