From 64adc5e62c727af8be96e26615e29f3dbb07cd0c Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Sat, 8 Jun 2024 13:50:26 +0200 Subject: [PATCH] build wownero --- scripts/android/build_monero_all.sh | 31 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/scripts/android/build_monero_all.sh b/scripts/android/build_monero_all.sh index d2b90681f..65ca4d837 100755 --- a/scripts/android/build_monero_all.sh +++ b/scripts/android/build_monero_all.sh @@ -24,7 +24,7 @@ fi # NOTE: -j1 is intentional. Otherwise you will run into weird behaviour on macos if [[ ! "x$USE_DOCKER" == "x" ]]; then - for COIN in monero; + for COIN in monero wownero; do pushd ../monero_c docker run --platform linux/amd64 -v$HOME/.cache/ccache:/root/.ccache -v$PWD:$PWD -w $PWD --rm -it git.mrcyjanek.net/mrcyjanek/debian:buster bash -c "git config --global --add safe.directory '*'; apt update; apt install -y ccache gcc g++ libtinfo5 gperf; ./build_single.sh ${COIN} x86_64-linux-android $NPROC" @@ -34,27 +34,26 @@ then popd done else - for COIN in monero; + for COIN in monero wownero; do pushd ../monero_c ./build_single.sh ${COIN} x86_64-linux-android $NPROC - [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/x86_64-linux-android + [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf ${COIN}/contrib/depends/x86_64-linux-android # ./build_single.sh ${COIN} i686-linux-android $NPROC - # [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/i686-linux-android + # [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf ${COIN}/contrib/depends/i686-linux-android ./build_single.sh ${COIN} arm-linux-androideabi $NPROC - [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/arm-linux-androideabi + [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf ${COIN}/contrib/depends/arm-linux-androideabi ./build_single.sh ${COIN} aarch64-linux-android $NPROC - [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf monero/contrib/depends/aarch64-linux-android + [[ ! "x$REMOVE_CACHES" == "x" ]] && rm -rf ${COIN}/contrib/depends/aarch64-linux-android popd + unxz -f ../monero_c/release/${COIN}/x86_64-linux-android_libwallet2_api_c.so.xz + unxz -f ../monero_c/release/${COIN}/x86_64-linux-android_libc++_shared.so.xz + + unxz -f ../monero_c/release/${COIN}/arm-linux-androideabi_libwallet2_api_c.so.xz + unxz -f ../monero_c/release/${COIN}/arm-linux-androideabi_libc++_shared.so.xz + + unxz -f ../monero_c/release/${COIN}/aarch64-linux-android_libwallet2_api_c.so.xz + unxz -f ../monero_c/release/${COIN}/aarch64-linux-android_libc++_shared.so.xz done -fi - -unxz -f ../monero_c/release/monero/x86_64-linux-android_libwallet2_api_c.so.xz -unxz -f ../monero_c/release/monero/x86_64-linux-android_libc++_shared.so.xz - -unxz -f ../monero_c/release/monero/arm-linux-androideabi_libwallet2_api_c.so.xz -unxz -f ../monero_c/release/monero/arm-linux-androideabi_libc++_shared.so.xz - -unxz -f ../monero_c/release/monero/aarch64-linux-android_libwallet2_api_c.so.xz -unxz -f ../monero_c/release/monero/aarch64-linux-android_libc++_shared.so.xz +fi \ No newline at end of file