From e79366c450c2df1eafc3d818ab01efc05c5a2a27 Mon Sep 17 00:00:00 2001 From: Xuejie Xiao Date: Wed, 9 Oct 2019 03:17:15 +0000 Subject: [PATCH] Fix README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d6a856f..3f70cf0 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ This is test showing that we can compile WASM code to RISC-V directly, and run t # How to use this: ```bash -$ git clone https://github.com/WebAssembly/wabt +$ git clone --recursive https://github.com/WebAssembly/wabt $ cd wabt -# export WABT_PATH=`pwd` +$ export WABT_PATH=`pwd` $ mkdir build $ cd build $ cmake .. @@ -29,6 +29,8 @@ Now you will have a secp_riscv64 binary to play with in CKB VM. One way to run i ```bash $ git clone https://github.com/nervosnetwork/ckb-vm-test-suite $ git submodule update --init --recursive +$ cd ckb-vm-test-suite +$ git clone https://github.com/nervosnetwork/ckb-vm $ cd binary $ cargo build --release $ ./target/release/asm64 ../../wasm-secp256k1-test/secp_riscv64 1