Chromium Code Reviews| Index: README-wasm.md |
| diff --git a/README-wasm.md b/README-wasm.md |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..90be95bbad9d91c619ad3ec221aeeb905fb2ed8c |
| --- /dev/null |
| +++ b/README-wasm.md |
| @@ -0,0 +1,18 @@ |
| +# Wasm Prototype Experiment Notes |
| + |
| +Here's the command I use to test: |
| + |
| +``` |
| +LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target make -j48 -f Makefile.standalone WASM=1 && LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target ./pnacl-sz -O2 -filetype=asm -target=arm32 ./torture-s2wasm-sexpr-wasm/20000112-1.c.s.wast.wasm |
|
JF
2016/03/28 18:17:13
Link to wasm-stat.us to download torture tests.
Eric Holk
2016/03/29 19:54:08
Done.
A subsequent CL will include a script to do
|
| +``` |
| +You'll probably need to adjust your `LD_LIBRARY_PATH` to point to where your v8 |
| +libraries are. |
| + |
| +You'll need to build v8 as a shared library. Build it like this: |
| + |
| +``` |
| +make -j48 native component=shared_library |
| +``` |
| + |
| +`wasm-run-torture-tests.py` can be used to run all the tests, or some |
| +subset. Running a subset will enable verbose output. |