From 7ad62dbb14e0c1f7f74cb97b974e7d3783249fec Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 25 Jul 2017 23:42:44 +0300 Subject: 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 8e36f01c..e0ed164c 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'))" """ -- cgit v1.2.3