You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have emscripten 2.0.7 installed (other versions may or may not work):
1
16
2
17
```
3
18
$ cd python
@@ -6,3 +21,13 @@ $ make -f ../Makefile em
6
21
$ cd ..
7
22
$ make empython.js
8
23
```
24
+
25
+
If you have docker or podman (below I'll use podman, I think you'll need to add `-u $(id -u):$(id -g)` for Docker):
26
+
27
+
```
28
+
$ podman pull emscripten/emsdk:2.0.7
29
+
$ podman run -it --rm -v $(pwd):/src emscripten/emsdk:2.0.7 bash -c "cd python && make -f ../Makefile prep && make -f ../Makefile em && cd .. && make empython.js"
30
+
$ ls -l empython.{js,wasm}
31
+
.rw-r--r-- 2.9M aidanhs 25 Oct 14:52 empython.js
32
+
.rwxr-xr-x 1.9M aidanhs 25 Oct 14:52 empython.wasm
0 commit comments