Skip to content

Commit

Permalink
Makefile: attempt to make the python test work
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 31, 2021
1 parent fe68490 commit d4928dd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,13 @@ artifact-python!: | subrepos/python/checkout! artifacts extracted/artifacts/tool
$(MAKE) built/common/python
unzip artifacts/jsshell-linux-x86_64.zip -d bin
$(MAKE) artifact-timestamp
$(MKDIR) wasm
$(MAKE) wasm/ld.wasm
$(MAKE) wasm/libc.wasm
$(MAKE) wasm/libdl.wasm
$(MAKE) wasm/libcrypt.wasm
$(MAKE) wasm/libutil.wasm
$(MAKE) wasm/libm.wasm
$(MAKE) built/wasm32/python wasm/python.wasm
touch wasm32-unknown-none/wasm32-unknown-none/lib/python3.10/encodings/.dir wasm32-unknown-none/wasm32-unknown-none/lib/python3.10/.dir
PYTHONHOME=$(PWD)/wasm32-unknown-none/wasm32-unknown-none ./wasm32-unknown-none/wasm32-unknown-none/bin/python3 -c 'print(3+4)' < /dev/null
Expand Down

0 comments on commit d4928dd

Please sign in to comment.