From 1387f4dedfc495fcc81f156459cb58fca03f5491 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Thu, 22 Jan 2015 15:18:30 -0800 Subject: [PATCH] iosbuild.sh: Increase build speed. Disable more stuff to speed up the build, and log default configure args in verbose mode. Change-Id: I40e55fc5e8d2bff0262e1d6bd4a40ee2c10d2b6d --- build/make/iosbuild.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index bdd6690df..89fa68186 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -18,6 +18,10 @@ set -e devnull='> /dev/null 2>&1' BUILD_ROOT="_iosbuild" +CONFIGURE_ARGS="--disable-docs + --disable-examples + --disable-libyuv + --disable-unit-tests" DIST_DIR="_dist" FRAMEWORK_DIR="VPX.framework" HEADER_DIR="${FRAMEWORK_DIR}/Headers/vpx" @@ -43,7 +47,7 @@ build_target() { mkdir "${target}" cd "${target}" eval "${LIBVPX_SOURCE_DIR}/configure" --target="${target}" \ - --disable-docs ${EXTRA_CONFIGURE_ARGS} ${devnull} + ${CONFIGURE_ARGS} ${EXTRA_CONFIGURE_ARGS} ${devnull} export DIST_DIR eval make -j ${MAKE_JOBS} dist ${devnull} cd "${old_pwd}" @@ -252,6 +256,7 @@ if [ "${VERBOSE}" = "yes" ]; then cat << EOF BUILD_ROOT=${BUILD_ROOT} DIST_DIR=${DIST_DIR} + CONFIGURE_ARGS=${CONFIGURE_ARGS} EXTRA_CONFIGURE_ARGS=${EXTRA_CONFIGURE_ARGS} FRAMEWORK_DIR=${FRAMEWORK_DIR} HEADER_DIR=${HEADER_DIR}