aboutsummaryrefslogtreecommitdiff
path: root/05_callback/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x05_callback/build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/05_callback/build.sh b/05_callback/build.sh
new file mode 100755
index 0000000..998ebd1
--- /dev/null
+++ b/05_callback/build.sh
@@ -0,0 +1,8 @@
1#!/bin/sh
2
3mkdir -p build
4emcc -sEXPORTED_FUNCTIONS=_primes_in_range -sMODULARIZE -sEXPORT_NAME=Primes \
5 -sEXPORTED_RUNTIME_METHODS=addFunction,UTF8ToString \
6 -sALLOW_TABLE_GROWTH \
7 -pthread -sPTHREAD_POOL_SIZE=16 \
8 -o build/primes.mjs primes.c

Generated with cgit - Back to sebastiano.tronto.net