Skip to content

Commit d33da55

Browse files
committed
Remove OpenSSL and Curl installation from build-wheels.sh
1 parent 5f85b7a commit d33da55

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

build-wheels.sh

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,6 @@
11
#!/bin/bash
22
set -e -x
33

4-
function install_openssl {
5-
# Compile and parallel-install a newer OpenSSL version so that curl can
6-
# download from the rust servers
7-
pushd /usr/src
8-
wget -q ftp://ftp.openssl.org/source/openssl-${1}.tar.gz
9-
tar xf openssl-${1}.tar.gz
10-
cd openssl-${1}
11-
./config --prefix=/opt/openssl shared > /dev/null
12-
make > /dev/null
13-
make install > /dev/null
14-
export LD_LIBRARY_PATH=/opt/openssl/lib:$LD_LIBRARY_PATH
15-
popd
16-
}
17-
18-
function install_curl {
19-
pushd /usr/src
20-
# Compile an up-to-date curl version that links to our own OpenSSL installation
21-
wget -q --no-check-certificate http://curl.haxx.se/download/curl-${1}.tar.gz
22-
tar xf curl-${1}.tar.gz
23-
cd curl-${1}
24-
./configure --with-ssl=/opt/openssl --prefix=/opt/curl > /dev/null
25-
make > /dev/null
26-
make install > /dev/null
27-
export PATH=/opt/curl/bin:$PATH
28-
popd
29-
}
30-
314
function install_rust {
325
curl https://static.rust-lang.org/rustup.sh > /tmp/rustup.sh
336
chmod +x /tmp/rustup.sh
@@ -51,8 +24,6 @@ function clean_project {
5124
popd
5225
}
5326

54-
OPENSSL_VERSION=1.0.2n
55-
CURL_VERSION=7.49.0
5627
RUST_CHANNEL=nightly
5728

5829
# It doesn't matter with which Python version we build the wheel, so we
@@ -75,8 +46,6 @@ else
7546
# Clean build files
7647
clean_project
7748

78-
install_openssl $OPENSSL_VERSION
79-
install_curl $CURL_VERSION
8049
install_rust $RUST_CHANNEL
8150

8251
# Remove old wheels

0 commit comments

Comments
 (0)