mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
13b01c86a6
-- Moved all RPCServer initialization logic to rpcserver constructor -- Fixed config logic, fxn binding to rpc address, fxn adding rpc cats -- router hive failed CI/CD resulting from outdated reference to rpcBindAddr -- ipc socket as default hidden from windows (for now) refactored config endpoint - added rpc call script (contrib/omq-rpc.py) - added new fxns to .ini config stuff - added delete .ini file functionality to config endpoint - added edge case control for config endpoint add commented out line in clang-form for header reorg later
28 lines
565 B
Bash
Executable File
28 lines
565 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if ! [ -f LICENSE ] || ! [ -d llarp ]; then
|
|
echo "You need to run this as ./contrib/mac.sh from the top-level lokinet project directory" >&2
|
|
exit 1
|
|
fi
|
|
|
|
mkdir -p build-mac
|
|
cd build-mac
|
|
cmake \
|
|
-G Ninja \
|
|
-DBUILD_STATIC_DEPS=ON \
|
|
-DWITH_TESTS=OFF \
|
|
-DWITH_BOOTSTRAP=OFF \
|
|
-DNATIVE_BUILD=OFF \
|
|
-DWITH_LTO=ON \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DMACOS_SYSTEM_EXTENSION=ON \
|
|
-DCODESIGN=ON \
|
|
-DBUILD_PACKAGE=ON \
|
|
"$@" \
|
|
..
|
|
|
|
echo "cmake build configured in build-mac"
|