From 4b744d1bc7f305f402c2c21df913646cfd5c3546 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 25 Jul 2017 01:48:17 +0300 Subject: [PATCH] update wheel builder script for static linking on linux 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 8e36f01c05e5..e0ed164cd63d 100644 --- a/.jenkins/Jenkinsfile-cryptography-wheel-builder +++ b/.jenkins/Jenkinsfile-cryptography-wheel-builder @@ -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'))" """