mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
27 lines
710 B
Bash
Executable File
27 lines
710 B
Bash
Executable File
#!/bin/bash
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/functions.sh"
|
|
|
|
# Usage: env USE_DOCKER= ./build_all.sh
|
|
|
|
set -x -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
../prepare_moneroc.sh
|
|
|
|
for COIN in monero wownero zano;
|
|
do
|
|
pushd ../monero_c
|
|
for target in {x86_64,aarch64}-linux-android armv7a-linux-androideabi
|
|
do
|
|
if [[ -f "release/${COIN}/${target}_libwallet2_api_c.so" ]];
|
|
then
|
|
echo "file exist, not building monero_c for ${COIN}/$target.";
|
|
else
|
|
./build_single.sh ${COIN} $target -j$MAKE_JOB_COUNT
|
|
unxz -f ../monero_c/release/${COIN}/${target}_libwallet2_api_c.so.xz
|
|
fi
|
|
done
|
|
popd
|
|
done
|