Browse Source

osx release build

master
ca333 8 years ago
parent
commit
84aeb16991
  1. 4
      crypto777/m_osx_release
  2. 8
      iguana/m_osx_release
  3. 1
      iguana/secp256k1/m_osx_release
  4. 2
      m_osx_release

4
crypto777/m_osx_release

@ -0,0 +1,4 @@
git pull
rm *.o
gcc -mmacosx-version-min=10.6 -c -DLIQUIDITY_PROVIDER=1 -O2 *.c jpeg/*.c jpeg/unix/*.c -I/usr/lib/x86_64-linux-gnu/curl
rm -f ../agents/libcrypto777.a; ar rc ../agents/libcrypto777.a *.o

8
iguana/m_osx_release

@ -0,0 +1,8 @@
#!/bin/bash
#./configure --enable-endomorphism --enable-module-ecdh --enable-module-schnorr --enable-module-rangeproof --enable-experimental --enable-module_recovery
rm ../agents/iguana *.o
git pull
cd secp256k1; ./m_osx_release; cd ..
gcc -g -mmacosx-version-min=10.6 -Wno-deprecated -c -O2 -DLIQUIDITY_PROVIDER=1 *.c ../basilisk/basilisk.c ../gecko/gecko.c ../datachain/datachain.c
gcc -g -mmacosx-version-min=10.6 -Wno-deprecated -c -DLIQUIDITY_PROVIDER=1 main.c iguana777.c iguana_bundles.c ../basilisk/basilisk.c
gcc -g -mmacosx-version-min=10.6 /usr/local/lib/libnanomsg.5.0.0.dylib -o ../agents/iguana *.o ../agents/libcrypto777.a -lcurl -lssl -lcrypto -lpthread -lz -lm

1
iguana/secp256k1/m_osx_release

@ -0,0 +1 @@
gcc -mmacosx-version-min=10.6 -c -o ../secp256k1.o -I. -I./src -I./include -I./src -O3 -W -std=c89 -pedantic -Wall -Wextra -Wcast-align -Wnested-externs -Wshadow -Wstrict-prototypes -Wno-unused-function -Wno-long-long -Wno-overlength-strings -fvisibility=hidden -DHAVE_CONFIG_H src/secp256k1.c

2
m_osx_release

@ -0,0 +1,2 @@
git pull
cd iguana; ./m_osx_release; cd ..
Loading…
Cancel
Save