diff --git a/rollup-http/echo-dapp/README.md b/rollup-http/echo-dapp/README.md index 1b652e9d..eef12973 100644 --- a/rollup-http/echo-dapp/README.md +++ b/rollup-http/echo-dapp/README.md @@ -14,9 +14,12 @@ To install Rust follow the instructions [here](https://www.rust-lang.org/tools/i ## Build for risc-v cpu -###Build using toolchain docker +### Build +This DApp is built during the docker build process: + ```shell -$ ./build.sh +$ cd machine-emulator-tools +$ make ``` ## Execution diff --git a/rollup-http/rollup-http-server/README.md b/rollup-http/rollup-http-server/README.md index ed5b2236..6881763b 100644 --- a/rollup-http/rollup-http-server/README.md +++ b/rollup-http/rollup-http-server/README.md @@ -9,14 +9,30 @@ Rollup HTTP Server application implements interface defined [here](https://githu This project requires Rust. To install Rust follow the instructions [here](https://www.rust-lang.org/tools/install). -### Build using toolchain docker +### Build +This service is built within the docker build step when building all other tools: + +```shell +cd machine-emulator-tools +make +``` + +### Build using the libcmt mock version (for development and tests) +First build libcmt mock on host: + +```shell +cd machine-emulator-tools/sys-utils/libcmt/ +make host +``` + +Then build this project with: ```shell -$ ./build-with-toolchain.sh +MOCK_BUILD=true cargo build ``` ### Run tests ```shell -$ CPATH=":$CPATH" RUSTFLAGS="-L /path/to/libcmt/lib" cargo test -- --show-output --test-threads=1 +MOCK_BUILD=true cargo test -- --show-output --test-threads=1 ```