Skip to content

Commit

Permalink
Makefile: test that python actually works
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Jan 31, 2021
1 parent 7161d06 commit afbd861
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,7 @@ artifact-python!: | subrepos/python/checkout! artifacts extracted/artifacts/tool
unzip artifacts/jsshell-linux-x86_64.zip -d bin
$(MAKE) artifact-timestamp
$(MAKE) built/wasm32/python wasm/python.wasm
./wasm32-unknown-none/wasm32-unknown-none/bin/python3 -c 'print(3+4)' < /dev/null
cp wasm/python.wasm artifacts/
$(MAKE) artifact-push!

Expand Down Expand Up @@ -1340,6 +1341,7 @@ daily-python!: | subrepos/python/checkout! extracted/daily/binutils.tar.gz extra
$(MAKE) wasm/libutil.wasm
$(MAKE) wasm/libm.wasm
$(MAKE) built/wasm32/python wasm/python.wasm
./wasm32-unknown-none/wasm32-unknown-none/bin/python3 -c 'print(3+4)' < /dev/null

daily-run-elf!: | extracted/daily/binutils.tar.gz extracted/daily/glibc.tar.gz extracted/daily/gcc.tar.gz extracted/daily/gcc-preliminary.tar.gz install/binfmt_misc/wasm install/binfmt_misc/elf32-wasm32 js/wasm32.js bin/js
$(MKDIR) wasm
Expand Down

0 comments on commit afbd861

Please sign in to comment.