Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
fc46822ca4
  1. 2
      crypto777/m_js
  2. 4
      iguana/m_js
  3. 2
      iguana/secp256k1/m_js

2
crypto777/m_js

@ -1,4 +1,4 @@
git pull
rm *.o
emcc -c -s USE_PTHREADS=1 -O2 *.c jpeg/*.c jpeg/unix/*.c
emcc -c -s ALLOW_MEMORY_GROWTH=1 -O2 *.c jpeg/*.c jpeg/unix/*.c
rm -f ../agents/libcrypto777.a; emar rcu ../agents/libcrypto777.a *.o

4
iguana/m_js

@ -1,6 +1,6 @@
rm ../agents/iguana *.o
git pull
cd secp256k1; ./m_js; cd ..
emcc -s USE_PTHREADS=1 -Wno-deprecated -c -O2 *.c databases/iguana_DB.c
emcc -s ALLOW_MEMORY_GROWTH=1 -Wno-deprecated -c -O2 *.c databases/iguana_DB.c
#emcc -s USE_PTHREADS=1 -Wno-deprecated -c main.c iguana777.c iguana_bundles.c
emcc -s USE_PTHREADS=1 -o iguana.html -O2 *.o ../agents/libcrypto777.a -lm
emcc -s ALLOW_MEMORY_GROWTH=1 -o iguana.html -O2 *.o ../agents/libcrypto777.a -lm

2
iguana/secp256k1/m_js

@ -1 +1 @@
emcc -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
emcc -c -o ../secp256k1.o -s ALLOW_MEMORY_GROWTH=1 -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

Loading…
Cancel
Save