forked from KMDLabs/LabsNotary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_iguana
executable file
·12 lines (11 loc) · 974 Bytes
/
build_iguana
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
cd ~/SuperNET/iguana/
# I added to command to remove iguana executable here, for simplification. Do all things related to this in one script.
rm -f ~/StakedNotary/iguana/iguana *.o
cd secp256k1; ./m_unix; cd ..
cd ../crypto777; ./m_LP; cd ../iguana
#gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -O2 -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c
clang -g -Wno-deprecated -c -O2 -DISNOTARYNODE=1 -DSTAKED=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c
#gcc -g -fno-aggressive-loop-optimizations -Wno-deprecated -c -DISNOTARYNODE=1 -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
clang -g -Wno-deprecated -c -DISNOTARYNODE=1 -DSTAKED=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
clang -g -o ~/StakedNotary/iguana/iguana *.o ../agents/libcrypto777.a -lnanomsg -lcurl -lssl -lcrypto -lpthread -lz -lm -lsodium