From ae2bc17168ce2f4fad76d3606c51235efbc5ad20 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Sun, 8 Sep 2024 17:16:58 +0800 Subject: [PATCH] Build websocket related binaries for embedded systems. (#1327) --- build-aarch64-linux-gnu.sh | 2 +- build-arm-linux-gnueabihf.sh | 2 +- build-riscv64-linux-gnu.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-aarch64-linux-gnu.sh b/build-aarch64-linux-gnu.sh index a957d888..d9851fbe 100755 --- a/build-aarch64-linux-gnu.sh +++ b/build-aarch64-linux-gnu.sh @@ -58,7 +58,7 @@ cmake \ -DSHERPA_ONNX_ENABLE_PORTAUDIO=OFF \ -DSHERPA_ONNX_ENABLE_JNI=OFF \ -DSHERPA_ONNX_ENABLE_C_API=ON \ - -DSHERPA_ONNX_ENABLE_WEBSOCKET=OFF \ + -DSHERPA_ONNX_ENABLE_WEBSOCKET=ON \ -DCMAKE_TOOLCHAIN_FILE=../toolchains/aarch64-linux-gnu.toolchain.cmake \ .. diff --git a/build-arm-linux-gnueabihf.sh b/build-arm-linux-gnueabihf.sh index 0c70f483..3e4ce38a 100755 --- a/build-arm-linux-gnueabihf.sh +++ b/build-arm-linux-gnueabihf.sh @@ -53,7 +53,7 @@ cmake \ -DSHERPA_ONNX_ENABLE_PORTAUDIO=OFF \ -DSHERPA_ONNX_ENABLE_JNI=OFF \ -DSHERPA_ONNX_ENABLE_C_API=ON \ - -DSHERPA_ONNX_ENABLE_WEBSOCKET=OFF \ + -DSHERPA_ONNX_ENABLE_WEBSOCKET=ON \ -DCMAKE_TOOLCHAIN_FILE=../toolchains/arm-linux-gnueabihf.toolchain.cmake \ .. diff --git a/build-riscv64-linux-gnu.sh b/build-riscv64-linux-gnu.sh index 0e7efdab..91e893c1 100755 --- a/build-riscv64-linux-gnu.sh +++ b/build-riscv64-linux-gnu.sh @@ -61,7 +61,7 @@ cmake \ -DSHERPA_ONNX_ENABLE_PORTAUDIO=OFF \ -DSHERPA_ONNX_ENABLE_JNI=OFF \ -DSHERPA_ONNX_ENABLE_C_API=OFF \ - -DSHERPA_ONNX_ENABLE_WEBSOCKET=OFF \ + -DSHERPA_ONNX_ENABLE_WEBSOCKET=ON \ -DCMAKE_TOOLCHAIN_FILE=../toolchains/riscv64-linux-gnu.toolchain.cmake \ ..