aboutsummaryrefslogtreecommitdiffstats
path: root/.jenkins
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-07-25 23:42:44 +0300
committerAlex Gaynor <alex.gaynor@gmail.com>2017-07-25 16:42:44 -0400
commit7ad62dbb14e0c1f7f74cb97b974e7d3783249fec (patch)
tree850800cbfccee56a6da8721c0e99d74d687f01b4 /.jenkins
parent7377fae9033abd8c9035cbf2792df48ac07dc82d (diff)
downloadcryptography-7ad62dbb14e0c1f7f74cb97b974e7d3783249fec.tar.gz
cryptography-7ad62dbb14e0c1f7f74cb97b974e7d3783249fec.tar.bz2
cryptography-7ad62dbb14e0c1f7f74cb97b974e7d3783249fec.zip
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.
Diffstat (limited to '.jenkins')
-rw-r--r--.jenkins/Jenkinsfile-cryptography-wheel-builder3
1 files changed, 1 insertions, 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'))"
"""