Fix build script: add 'cd build' after 'mkdir build' to ensure the correct working directory for CMake (#2033)
This commit is contained in:
@@ -30,6 +30,7 @@ cd $HOME/open-source
|
|||||||
git clone https://github.com/k2-fsa/sherpa-onnx
|
git clone https://github.com/k2-fsa/sherpa-onnx
|
||||||
cd sherpa-onnx
|
cd sherpa-onnx
|
||||||
mkdir build
|
mkdir build
|
||||||
|
cd build
|
||||||
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./install ..
|
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=./install ..
|
||||||
cmake --build . --config Release --target install
|
cmake --build . --config Release --target install
|
||||||
|
|||||||
Reference in New Issue
Block a user