mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
25 lines
No EOL
566 B
Bash
Executable file
25 lines
No EOL
566 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -x -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
NPROC="-j$(nproc)"
|
|
|
|
../prepare_moneroc.sh
|
|
|
|
for COIN in monero wownero zano;
|
|
do
|
|
pushd ../monero_c
|
|
for target in x86_64-linux-gnu
|
|
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 $NPROC
|
|
unxz -f ../monero_c/release/${COIN}/${target}_libwallet2_api_c.so.xz
|
|
fi
|
|
done
|
|
popd
|
|
done |