Skip to content

Commit 3499209

Browse files
author
Pan
committed
Updated manylinux wheel builds. Updated travis cfg. Updated libssh2 submodule upstream
1 parent be09668 commit 3499209

File tree

4 files changed

+18
-18
lines changed

4 files changed

+18
-18
lines changed

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "libssh2"]
22
path = libssh2
3-
url = https://github.com/pkittenis/libssh2.git
3+
url = https://github.com/ParallelSSH/libssh2.git

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ jobs:
143143
# on:
144144
# repo: ParallelSSH/ssh2-python
145145
# tags: true
146-
- stage: build and deploy source and wheels
147-
if: tag IS present
146+
- stage: build wheels
148147
os: linux
149148
python: 3.6
150149
install:

ci/docker/manylinux/Dockerfile

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,30 @@
11
FROM quay.io/pypa/manylinux1_x86_64
22

3-
ENV CMAKE cmake-2.8.12.2-Linux-i386
4-
ENV OPENSSL openssl-1.0.2o
5-
ENV LIBSSH2 libssh2-1.8.0
3+
ENV CMAKE cmake-2.8.11.1-5.4.x86_64
4+
ENV OPENSSL openssl-1.0.2l
5+
ENV LIBSSH2_VER agent_fwd
66

77
RUN yum install zlib-devel -y
88

9-
# Cmake
10-
RUN wget --no-check-certificate https://cmake.org/files/v2.8/${CMAKE}.tar.gz && \
11-
tar -xzf ${CMAKE}.tar.gz && cp -af ${CMAKE}/share/* /usr/share/ && \
12-
cp -af ${CMAKE}/bin/* /usr/bin/
9+
ADD https://github.com/ParallelSSH/libssh2/archive/${LIBSSH2_VER}.tar.gz libssh2.tar.gz
10+
ADD ${CMAKE}.rpm cmake.rpm
11+
ADD http://www.openssl.org/source/${OPENSSL}.tar.gz ${OPENSSL}.tar.gz
12+
13+
RUN rpm -i cmake.rpm
1314

1415
# Openssl
15-
RUN wget --no-check-certificate http://www.openssl.org/source/${OPENSSL}.tar.gz && \
16-
tar -xzf ${OPENSSL}.tar.gz && \
16+
RUN tar -xzf ${OPENSSL}.tar.gz && \
1717
cd ${OPENSSL} && \
1818
./config --prefix=/usr --openssldir=/usr/openssl threads shared && \
1919
make -j4 && make install
2020

2121
# Libssh2
22-
RUN wget --no-check-certificate https://www.libssh2.org/download/${LIBSSH2}.tar.gz && \
23-
tar -xzf ${LIBSSH2}.tar.gz
22+
RUN tar -xzf libssh2.tar.gz && \
23+
mkdir -p build_libssh2 && cd build_libssh2 && \
24+
cmake ../libssh2-${LIBSSH2_VER} -DBUILD_SHARED_LIBS=ON -DENABLE_ZLIB_COMPRESSION=ON \
25+
-DENABLE_CRYPT_NONE=ON -DENABLE_MAC_NONE=ON -DCMAKE_INSTALL_PREFIX=/usr && \
26+
cmake --build . --config Release --target install
2427

25-
RUN cd ${LIBSSH2} && cmake ../${LIBSSH2} -DBUILD_SHARED_LIBS=ON -DENABLE_ZLIB_COMPRESSION=ON \
26-
-DENABLE_CRYPT_NONE=ON -DENABLE_MAC_NONE=ON -DCMAKE_INSTALL_PREFIX=/usr \
27-
&& cmake --build . --config Release --target install
28+
RUN rm -rf ${OPENSSL}* libssh2-agent_fwd build_libssh2
2829

29-
RUN rm -rf ${CMAKE}* ${OPENSSL}* ${LIBSSH2}*
30+
VOLUME /var/cache
Binary file not shown.

0 commit comments

Comments
 (0)