From 6632fe0771a5a3b4b96ede30c4f77b8afa02bd23 Mon Sep 17 00:00:00 2001 From: Jian GU Date: Wed, 9 Oct 2019 20:43:19 +0200 Subject: [PATCH] tried the wasmer plan --- .gitmodules | 3 +++ utils/pipeline/README.md | 9 +++++++++ utils/pipeline/pipeline.sh | 9 +++++++++ wasmer | 1 + 4 files changed, 22 insertions(+) create mode 160000 wasmer diff --git a/.gitmodules b/.gitmodules index 088cc34f..1265cfaa 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "binaryen"] path = binaryen url = git://github.com/WebAssembly/binaryen.git +[submodule "wasmer"] + path = wasmer + url = https://github.com/wasmerio/wasmer diff --git a/utils/pipeline/README.md b/utils/pipeline/README.md index ae73776e..a3ccc8fe 100644 --- a/utils/pipeline/README.md +++ b/utils/pipeline/README.md @@ -63,6 +63,13 @@ cmake .. cmake --build . ``` +__wasmer__ + +``` +cd wasmer +make release-llvm +``` + __binaryen__ ``` @@ -77,6 +84,8 @@ Python3 >= 3.6 LLVM >= 8.0 +Rust (Nightly) + ### Note 1. current solution for __`.opt`__ → __`.ll`__ is not so reliable 2. for reference, my env is `llv=9.0.0`, `gcc=9.2.0`, `cmake=3.15.3` diff --git a/utils/pipeline/pipeline.sh b/utils/pipeline/pipeline.sh index e5df5dc7..54880b55 100644 --- a/utils/pipeline/pipeline.sh +++ b/utils/pipeline/pipeline.sh @@ -5,6 +5,15 @@ ext=$(echo $1 | sed 's/^.*\.//') # export BINARYEN_DEBUG_SOUPERIFY=0 +:<