From 99a2a5159aa5c7c370cccef84e307b335cc8094c Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 25 Jul 2017 23:42:44 +0300 Subject: [PATCH] update wheel builder script for static linking on linux (#3811) We don't need to do an LD_LIBRARY_PATH when calling auditwheel because we're now statically linking OpenSSL. --- .jenkins/Jenkinsfile-cryptography-wheel-builder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.jenkins/Jenkinsfile-cryptography-wheel-builder b/.jenkins/Jenkinsfile-cryptography-wheel-builder index c4404c252a2d..1d057a576d13 100644 --- a/.jenkins/Jenkinsfile-cryptography-wheel-builder +++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder @@ -139,8 +139,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'))" """