File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ matrix:
20
20
env : LD_LIBRARY_PATH="$PWD/tmp-build/lib" LIBRDKAFKA_VERSION=v0.9.2
21
21
# cibuildwheel for osx
22
22
- os : osx
23
- env : CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh master tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
23
+ env : CIBW_BEFORE_BUILD="tools/bootstrap-librdkafka.sh --require-ssl master tmp" CFLAGS="-Itmp/include" LDFLAGS="-Ltmp/lib"
24
24
# cibuildwheel for manylinux
25
25
- os : linux
26
26
dist : trusty
@@ -31,7 +31,7 @@ matrix:
31
31
services : docker
32
32
33
33
install :
34
- - if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; bash tools/bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} tmp-build ; fi
34
+ - if [[ -z $CIBW_BEFORE_BUILD ]]; then rm -rf tmp-build ; tools/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} tmp-build ; fi
35
35
- if [[ -z $CIBW_BEFORE_BUILD ]]; then pip install --upgrade pip && pip install pytest-timeout flake8 ; fi
36
36
- if [[ ! -z $CIBW_BEFORE_BUILD ]]; then pip install cibuildwheel==0.4.1 ; fi
37
37
Original file line number Diff line number Diff line change @@ -39,8 +39,8 @@ make clean
39
39
./configure --prefix=" $PREFIXDIR "
40
40
41
41
if [[ $REQUIRE_SSL == 1 ]]; then
42
- grep ' ^#define WITH_SSL 2 $' config.h || \
43
- (echo " ERROR: OpenSSL support required" ; cat config.log ; exit 1)
42
+ grep ' ^#define WITH_SSL 1 $' config.h || \
43
+ (echo " ERROR: OpenSSL support required" ; cat config.log config.h ; exit 1)
44
44
fi
45
45
46
46
make -j
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ yum install -y zlib-devel gcc-c++
50
50
$( dirname $0 ) /build-openssl.sh /usr
51
51
52
52
echo " # Building librdkafka ${LIBRDKAFKA_VERSION} "
53
- $( dirname $0 ) /bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} /usr
53
+ $( dirname $0 ) /bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} /usr
54
54
55
55
# Compile wheels
56
56
echo " # Compile"
Original file line number Diff line number Diff line change 32
32
33
33
./config --prefix=${PREFIX} zlib no-krb5 zlib shared
34
34
echo " ## building openssl"
35
- if ! time make -j 2>&1 | tail -20 ; then
35
+ if ! make -j 2>&1 | tail -20 ; then
36
36
echo " ## Make failed, cleaning up and retrying"
37
37
time make clean 2>&1 | tail -20
38
38
rm -f test/PASSED
39
39
echo " ## building openssl (retry)"
40
- time make -j 2>&1 | tail -20 ; then
40
+ time make -j 2>&1 | tail -20
41
41
fi
42
42
43
43
if [[ ! -f test/PASSED ]]; then
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ yum install -y zlib-devel gcc-c++
19
19
$( dirname $0 ) /build-openssl.sh /usr
20
20
21
21
echo " # Building librdkafka ${LIBRDKAFKA_VERSION} "
22
- $( dirname $0 ) /bootstrap-librdkafka.sh ${LIBRDKAFKA_VERSION} /usr
22
+ $( dirname $0 ) /bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} /usr
23
23
You can’t perform that action at this time.
0 commit comments