Chromium Code Reviews| 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 -f Makefile.standalone WASM=1 && LD_LIBRARY_PATH=~/nacl/v8/out/native/lib.target ./pnacl-sz -O2 -filet ype=asm -target=arm32 ./torture-s2wasm-sexpr-wasm/20000112-1.c.s.wast.wasm | |
|
Jim Stichnoth
2016/04/04 21:26:51
Do you really need to set LD_LIBRARY_PATH just to
Eric Holk
2016/04/04 22:23:22
For some reason we do need the LD_LIBRARY_PATH eve
| |
| 7 ``` | |
| 8 You'll probably need to adjust your `LD_LIBRARY_PATH` to point to where your v8 | |
| 9 libraries are. | |
| 10 | |
| 11 You'll need to build v8 as a shared library. Build it like this: | |
| 12 | |
| 13 ``` | |
| 14 make -j48 native component=shared_library | |
| 15 ``` | |
| 16 | |
| 17 `wasm-run-torture-tests.py` can be used to run all the tests, or some | |
|
Jim Stichnoth
2016/04/04 21:26:51
reflow to 80-col?
Eric Holk
2016/04/04 22:23:22
Done.
| |
| 18 subset. Running a subset will enable verbose output. You can download the | |
| 19 torture tests from the [WebAssembly waterfall](https://wasm-stat.us/console). | |
| OLD | NEW |