OLD | NEW |
(Empty) | |
| 1 # Wasm Prototype Experiment Notes |
| 2 |
| 3 Here's the command I use to test: |
| 4 |
| 5 ``` |
| 6 LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target make -j48 \ |
| 7 -f Makefile.standalone WASM=1 && \ |
| 8 LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target ./pnacl-sz -O2 -filetype=asm \ |
| 9 -target=arm32 ./torture-s2wasm-sexpr-wasm/20000112-1.c.s.wast.wasm |
| 10 ``` |
| 11 |
| 12 You'll probably need to adjust your `LD_LIBRARY_PATH` to point to where your v8 |
| 13 libraries are. |
| 14 |
| 15 You'll need to build v8 as a shared library. Build it like this: |
| 16 |
| 17 ``` |
| 18 make -j48 native component=shared_library |
| 19 ``` |
| 20 |
| 21 `wasm-run-torture-tests.py` can be used to run all the tests, or some subset. |
| 22 Running a subset will enable verbose output. You can download the torture tests |
| 23 from the [WebAssembly waterfall](https://wasm-stat.us/console). |
OLD | NEW |