Skip to content

Commit

Permalink
Problem: Sync with zproject (Android build system needs some debug (.…
Browse files Browse the repository at this point in the history
…/configure options)).

Solution: Regenerate ZYRE with this commit.
  • Loading branch information
stephan57160 committed Oct 13, 2022
1 parent dec2686 commit 9a9139c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
10 changes: 10 additions & 0 deletions builds/android/android_build_helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,16 @@ function android_build_verify_so {
android_build_check_fail
}

function android_show_configure_opts {
local tag=$1
shift
echo "ZYRE (${BUILD_ARCH}) - ./configure options to build '${tag}':"
for opt in "$@"; do
echo " > ${opt}"
done
echo ""
}

################################################################################
# THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY #
# Read the zproject/README.md for information about making permanent changes. #
Expand Down
12 changes: 10 additions & 2 deletions builds/android/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,16 @@ fi

export LIBTOOL_EXTRA_LDFLAGS='-avoid-version'

(cd "${cache}/zyre" && $CI_TIME ./autogen.sh 2> /dev/null \
&& $CI_TIME ./configure --quiet "${ANDROID_BUILD_OPTS[@]}" --without-docs \
(
CONFIG_OPTS=()
CONFIG_OPTS+=("--quiet")
CONFIG_OPTS+=("${ANDROID_BUILD_OPTS[@]}")
CONFIG_OPTS+=("--without-docs")

cd "${cache}/zyre" \
&& $CI_TIME ./autogen.sh 2> /dev/null \
&& android_show_configure_opts "LIBZYRE" "${CONFIG_OPTS[@]}" \
&& $CI_TIME ./configure "${CONFIG_OPTS[@]}" \
&& $CI_TIME make -j 4 \
&& $CI_TIME make install) || exit 1
}
Expand Down

0 comments on commit 9a9139c

Please sign in to comment.