Commit a3d9b46a authored by Pieter Hintjens's avatar Pieter Hintjens

Problem: Android build is slow and noisy

Solution: use --without-docs (changed from --without-documentation)
and also --quiet.
parent 31d181ef
...@@ -32,7 +32,7 @@ fi ...@@ -32,7 +32,7 @@ fi
rm -rf "${cache}/libsodium" rm -rf "${cache}/libsodium"
(cd "${cache}" && git clone --depth 1 git://github.com/jedisct1/libsodium.git) || exit 1 (cd "${cache}" && git clone --depth 1 git://github.com/jedisct1/libsodium.git) || exit 1
(cd "${cache}/libsodium" && ./autogen.sh \ (cd "${cache}/libsodium" && ./autogen.sh \
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \ && ./configure --quiet "${ANDROID_BUILD_OPTS[@]}" --disable-soname-versions \
&& make -j 4 \ && make -j 4 \
&& make install) || exit 1 && make install) || exit 1
} }
...@@ -47,7 +47,7 @@ LIBTOOL_EXTRA_LDFLAGS='-avoid-version' ...@@ -47,7 +47,7 @@ LIBTOOL_EXTRA_LDFLAGS='-avoid-version'
(cp -r ../.. "${cache}/libzmq" && cd "${cache}/libzmq" && make clean) (cp -r ../.. "${cache}/libzmq" && cd "${cache}/libzmq" && make clean)
(cd "${cache}/libzmq" && ./autogen.sh \ (cd "${cache}/libzmq" && ./autogen.sh \
&& ./configure "${ANDROID_BUILD_OPTS[@]}" --without-documentation --with-libsodium=yes \ && ./configure --quiet "${ANDROID_BUILD_OPTS[@]}" --without-docs --with-libsodium=yes \
&& make -j 4 \ && make -j 4 \
&& make install) || exit 1 && make install) || exit 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment