mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-10 21:04:53 +00:00
wip: ios build script
This commit is contained in:
parent
ac30e14352
commit
e504cf1087
1 changed files with 36 additions and 7 deletions
|
@ -1,10 +1,39 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
. ./config.sh
|
. ./config.sh
|
||||||
./install_missing_headers.sh
|
# ./install_missing_headers.sh
|
||||||
./build_openssl.sh
|
# ./build_openssl.sh
|
||||||
./build_boost.sh
|
# ./build_boost.sh
|
||||||
./build_sodium.sh
|
# ./build_sodium.sh
|
||||||
./build_zmq.sh
|
# ./build_zmq.sh
|
||||||
./build_unbound.sh
|
# ./build_unbound.sh
|
||||||
./build_monero.sh
|
|
||||||
|
set -x -e
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
|
NPROC="-j$(nproc)"
|
||||||
|
|
||||||
|
../prepare_moneroc.sh
|
||||||
|
|
||||||
|
# NOTE: -j1 is intentional. Otherwise you will run into weird behaviour on macos
|
||||||
|
if [[ ! "x$USE_DOCKER" == "x" ]];
|
||||||
|
then
|
||||||
|
for COIN in monero;
|
||||||
|
do
|
||||||
|
pushd ../monero_c
|
||||||
|
echo "unsupported!"
|
||||||
|
exit 1
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
else
|
||||||
|
for COIN in monero;
|
||||||
|
do
|
||||||
|
pushd ../monero_c
|
||||||
|
./build_single.sh ${COIN} host-apple-ios $NPROC
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
unxz -f ../monero_c/release/monero/host-apple-ios_libwallet2_api_c.dylib.xz
|
||||||
|
# unxz -f ../monero_c/release/wownero/host-apple-ios_libwallet2_api_c.dylib.xz
|
||||||
|
|
Loading…
Reference in a new issue