python-emscripten  Check-in [f221e978c5]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:webprompt: fix native test
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:f221e978c599cb1e30adf7fa6dd3d854b67374dec73837eaf3f97c1de706023a
User & Date: Beuc 2020-05-08 16:25:43
Context
2020-05-08
16:26
webprompt: fix native test check-in: 16267ba494 user: Beuc tags: trunk
16:25
webprompt: fix native test check-in: f221e978c5 user: Beuc tags: trunk
16:24
webprompt: make it clearer that computing is happening check-in: 4210f84087 user: Beuc tags: trunk
Changes

Changes to 2.7.10/webprompt.sh.

41
42
43
44
45
46
47


48

49
50
  -s ALLOW_MEMORY_GROWTH=1 \
  -s FORCE_FILESYSTEM=1 -s RETAIN_COMPILER_SETTINGS=1 \
  $ASYNC \
  --shell-file ../webprompt-shell.html -s MINIFY_HTML=0 \
  -s EXPORTED_FUNCTIONS='[_main, _Py_Initialize, _PyRun_SimpleString, _pyruni]' \
  -s EXTRA_EXPORTED_RUNTIME_METHODS='[ccall, cwrap]'



# cython ../mock/emscripten.pyx -o t/mock.c

# gcc -g -I build/hostpython/include/python2.7 -L build/hostpython/lib/ t/mock.c webprompt-main.c -lpython2.7 -ldl -lm -lutil -lz
# PYTHONHOME=build/hostpython/ ./a.out







>
>
|
>
|

41
42
43
44
45
46
47
48
49
50
51
52
53
  -s ALLOW_MEMORY_GROWTH=1 \
  -s FORCE_FILESYSTEM=1 -s RETAIN_COMPILER_SETTINGS=1 \
  $ASYNC \
  --shell-file ../webprompt-shell.html -s MINIFY_HTML=0 \
  -s EXPORTED_FUNCTIONS='[_main, _Py_Initialize, _PyRun_SimpleString, _pyruni]' \
  -s EXTRA_EXPORTED_RUNTIME_METHODS='[ccall, cwrap]'

# emrun --serve_after_close t/index.html

# cython -2 ../mock/emscripten.pyx -o t/mock.c
# cython -2 ../mock/emscripten_fetch.pyx -o t/mock2.c
# gcc -g -I build/hostpython/include/python2.7 -L build/hostpython/lib/ t/mock.c t/mock2.c ../webprompt-main.c -lpython2.7 -ldl -lm -lutil -lz -lpthread
# PYTHONHOME=build/hostpython/ ./a.out