Skip to content

Commit

Permalink
use -DWASMEDGE_USE_LLVM=OFF to disable all AOT-related components
Browse files Browse the repository at this point in the history
Signed-off-by: PeterD1524 <[email protected]>
  • Loading branch information
PeterD1524 committed Jul 24, 2024
1 parent 5b50182 commit 2e9bca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/piper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Dependencies for building WasmEdge
run: |
sudo apt-get update
sudo apt-get install liblld-14-dev ninja-build
sudo apt-get install ninja-build
- name: Checkout WasmEdge
uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:

- name: Build WasmEdge with WASI-NN Piper plugin
run: |
cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_PLUGIN_WASI_NN_BACKEND=Piper
cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_USE_LLVM=OFF -DWASMEDGE_PLUGIN_WASI_NN_BACKEND=Piper
cmake --build build
working-directory: WasmEdge

Expand Down
2 changes: 1 addition & 1 deletion wasmedge-piper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Build WasmEdge from source:
```bash
cd /path/to/wasmedge/source/folder

cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_PLUGIN_WASI_NN_BACKEND=Piper
cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=Release -DWASMEDGE_USE_LLVM=OFF -DWASMEDGE_PLUGIN_WASI_NN_BACKEND=Piper
cmake --build build
```

Expand Down

0 comments on commit 2e9bca5

Please sign in to comment.