mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: Android build is too slow
Solution: use parallel make (-j 4) and don't build man pages.
This commit is contained in:
parent
2566c02a9e
commit
c49eef46ec
@ -33,7 +33,7 @@ fi
|
||||
(cd "${cache}" && git clone --depth 1 git://github.com/jedisct1/libsodium.git) || exit 1
|
||||
(cd "${cache}/libsodium" && ./autogen.sh \
|
||||
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \
|
||||
&& make \
|
||||
&& make -j 4 \
|
||||
&& make install) || exit 1
|
||||
}
|
||||
|
||||
@ -47,8 +47,8 @@ LIBTOOL_EXTRA_LDFLAGS='-avoid-version'
|
||||
(cp -r ../.. "${cache}/libzmq" && cd "${cache}/libzmq" && make clean)
|
||||
|
||||
(cd "${cache}/libzmq" && ./autogen.sh \
|
||||
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --with-libsodium=yes \
|
||||
&& make \
|
||||
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --without-documentation --with-libsodium=yes \
|
||||
&& make -j 4 \
|
||||
&& make install) || exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user