Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: c2wasm-exe.sh

Issue 1890283002: Subzero, Wasm: Link and run torture tests; bug fixes. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Download WASM tests from public location Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: c2wasm-exe.sh
diff --git a/c2wasm-exe.sh b/c2wasm-exe.sh
new file mode 100755
index 0000000000000000000000000000000000000000..f7029881c5fe54b5813fe5b84f5a246d742747c9
--- /dev/null
+++ b/c2wasm-exe.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# TODO (eholk): This script is a hack for debugging and development
+# that should be removed.
+
+./wasm-install/bin/emscripten/emcc "$1" -s BINARYEN=1 \
+ -s 'BINARYEN_METHOD="native-wasm"' -O2 \
+ --em-config wasm-install/emscripten_config_vanilla && \
+./wasm-install/bin/sexpr-wasm a.out.wast -o a.out.wasm && \
+./pnacl-sz a.out.wasm -o a.out.o -filetype=obj -O2 && \
+clang -m32 a.out.o runtime/wasm-runtime.c -g
« Makefile.standalone ('K') | « README-wasm.md ('k') | fetch-torture-tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698