Fix build script: add 'cd build' after 'mkdir build' to ensure the correct working directory for CMake (#2033)

This commit is contained in:
谢乃闻
2025-03-20 22:42:19 +00:00
committed by GitHub
parent ee2b8d0a28
commit e4dff6466e

View File

@@ -30,6 +30,7 @@ cd $HOME/open-source
git clone https://github.com/k2-fsa/sherpa-onnx
cd sherpa-onnx
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./install ..
cmake --build . --config Release --target install