From 2e9bca5a23cde655aab942ffc40e680dfeb33906 Mon Sep 17 00:00:00 2001 From: PeterD1524 Date: Wed, 24 Jul 2024 11:14:10 +0800 Subject: [PATCH] use -DWASMEDGE_USE_LLVM=OFF to disable all AOT-related components Signed-off-by: PeterD1524 --- .github/workflows/piper.yml | 4 ++-- wasmedge-piper/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/piper.yml b/.github/workflows/piper.yml index bae6724..5579901 100644 --- a/.github/workflows/piper.yml +++ b/.github/workflows/piper.yml @@ -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 @@ -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 diff --git a/wasmedge-piper/README.md b/wasmedge-piper/README.md index b460aec..1d02366 100644 --- a/wasmedge-piper/README.md +++ b/wasmedge-piper/README.md @@ -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 ```