Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

Testing latest pari + WASM + node.js... and it works?! Wow.

28495 views
License: GPL3
ubuntu2004
1
cat >> $file << EOT
2
L1OBJS=$kern1/int.h $knone/level1.h
3
parilvl1.h: \$(L1OBJS) $src/headers/paritune.h
4
if test -r ./tune.h; then d=.; else d=$kern1; fi;\
5
cat \$\$d/tune.h \$(L1OBJS) > parilvl1.h
6
MP_C=$kern1/mp.c $knone/cmp.c $knone/gcdll.c $knone/halfgcd.c $knone/ratlift.c\
7
$knone/invmod.c $kern1/gcd.c $kern1/gcdext.c $knone/mp_indep.c $knone/add.c
8
mpker.c: \$(MP_C)
9
cat \$(MP_C) > mpker.c
10
mpker\$(_O): .headers mpker.c
11
\$(CC) -c \$(CFLAGS) \$(KERNELCFLAGS) \$(DLCFLAGS) \$(CPPFLAGS) \$(GMPINCLUDE) -o mpker\$(_O) mpker.c
12
EOT
13
14