File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM quay.io/pypa/manylinux2010_x86_64
3
3
ENV OPENSSL openssl-1.1.1g
4
4
ENV LIBSSH 0.9.6
5
5
ENV SYSTEM_LIBSSH 1
6
+ ENV CFLAGS "-g0 -s"
6
7
7
8
RUN yum install zlib-devel cmake3 -y
8
9
@@ -14,7 +15,7 @@ RUN tar -xzf ${OPENSSL}.tar.gz
14
15
# Openssl
15
16
RUN cd ${OPENSSL} && \
16
17
./config --prefix=/usr --openssldir=/usr/openssl threads shared && \
17
- make -j6 && make install
18
+ make -j6 && make install_sw
18
19
19
20
# Kerberos
20
21
RUN cd krb5-1.18.4.tar.gz/krb5-1.18.4/src && \
@@ -26,7 +27,7 @@ RUN cd krb5-1.18.4.tar.gz/krb5-1.18.4/src && \
26
27
RUN mkdir -p build_libssh && cd build_libssh && \
27
28
cmake3 ../libssh.tar.xz/libssh-${LIBSSH} -DCMAKE_BUILD_TYPE=Release \
28
29
-DWITH_GSS_API=ON && \
29
- make -j6 install
30
+ make -j6 install/strip
30
31
31
32
RUN rm -rf ${OPENSSL}* libssh build_libssh krb5-1.18.4.tar.gz
32
33
Original file line number Diff line number Diff line change 47
47
]
48
48
49
49
# _comp_args = ["-ggdb"]
50
- _comp_args = [" -O3" ] if not ON_WINDOWS else None
50
+ _comp_args = [' -O3' , '-g0' , '-s' ] if not ON_WINDOWS else None
51
51
cython_directives = {
52
52
'embedsignature' : True ,
53
53
'boundscheck' : False ,
124
124
'tests' , 'tests.*' ,
125
125
'*.tests' , '*.tests.*' )),
126
126
zip_safe = False ,
127
- include_package_data = True ,
127
+ include_package_data = False ,
128
128
platforms = 'any' ,
129
129
classifiers = [
130
130
'Development Status :: 4 - Beta' ,
You can’t perform that action at this time.
0 commit comments