Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6e5e85a54f
  1. 2
      crypto777/m_js
  2. 2
      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 *.c jpeg/*.c jpeg/unix/*.c
emcc -c -s USE_PTHREADS=1 -O3 *.c jpeg/*.c jpeg/unix/*.c
rm -f ../agents/libcrypto777.a; emar rcu ../agents/libcrypto777.a *.o

2
iguana/m_js

@ -1,5 +1,5 @@
rm ../agents/iguana *.o
git pull
cd secp256k1; ./m_js; cd ..
emcc -s USE_PTHREADS=1 -o iguana.html *.c databases/iguana_DB.c secp256k1.o ../agents/libcrypto777.a -lm
emcc -s TOTAL_MEMORY=3268435456 -s PTHREAD_POOL_SIZE=40 -s USE_PTHREADS=1 -o iguana.html -O3 *.c databases/iguana_DB.c secp256k1.o ../agents/libcrypto777.a -lm
cp iguana.html iguana.js pthread-main.js iguana.html.mem /var/www/html

2
iguana/secp256k1/m_js

@ -1 +1 @@
emcc -c -o ../secp256k1.o -s USE_PTHREADS=1 -I. -I./src -I./include -I./src -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 USE_PTHREADS=1 -O3 -I. -I./src -I./include -I./src -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