Skip to content

Commit 3f34b12

Browse files
committed
[CI] The WASI-NN is merged into master.
Signed-off-by: YiYing He <yiying@secondstate.io>
1 parent def219a commit 3f34b12

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎.github/workflows/build.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
bash -c "\
4343
source /opt/intel/openvino_2021/bin/setupvars.sh;\
4444
ldconfig;\
45-
git clone https://github.com/WasmEdge/WasmEdge -b proposal/wasi_nn;\
45+
git clone https://github.com/WasmEdge/WasmEdge;\
4646
cd ./WasmEdge;\
47-
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DWASMEDGE_WASINN_BUILD_OPENVINO=ON .;\
47+
cmake -Bbuild -GNinja -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DWASMEDGE_WASINN_BACKEND="OpenVINO" .;\
4848
cmake --build build;"
4949
- name: Build and run Rust example - Mobilenet
5050
run: |

‎README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ In Rust, download the [crate from crates.io][crates.io] by adding `wasi-nn = "0.
5757
#### Build the WasmEdge with WASI-NN supporting
5858

5959
For running the examples, developers should [build WasmEdge from source](https://wasmedge.org/book/en/extend/build.html).
60-
First developers should get the source and checkout the `proposal/wasi_nn` branch:
60+
First developers should get the source:
6161

6262
```bash
63-
git clone -b proposal/wasi_nn https://github.com/WasmEdge/WasmEdge.git
63+
git clone https://github.com/WasmEdge/WasmEdge.git
6464
cd WasmEdge
6565
```
6666

67-
And build with the `WASMEDGE_WASINN_BUILD_OPENVINO` option:
67+
And build with the `WASMEDGE_WASINN_BACKEND` argument:
6868

6969
```bash
70-
cmake -Bbuild -GNinja -DWASMEDGE_WASINN_BUILD_OPENVINO=ON .
70+
cmake -Bbuild -GNinja -DWASMEDGE_WASINN_BACKEND="OpenVINO" .
7171
cmake --build build
7272
# For the WASI-NN plugin, you should install this project.
7373
cmake --install build

0 commit comments

Comments
 (0)