Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions runtime/llama.cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ build/convert/run quickstart, validation numbers, and gotchas.
## Build (shared)
```bash
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
cp -r /path/to/runtime/llama.cpp/funasr-common examples/ # shared audio loader (miniaudio); each example CMake adds ../funasr-common

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Placing comments inline within a bash code block can sometimes cause issues when users copy and paste the entire block directly into their terminal (especially across different shells or terminal emulators). Moving the comment to its own line above the command improves readability and copy-paste safety.

Suggested change
cp -r /path/to/runtime/llama.cpp/funasr-common examples/ # shared audio loader (miniaudio); each example CMake adds ../funasr-common
# Copy the shared audio loader (miniaudio); each example's CMake adds ../funasr-common
cp -r /path/to/runtime/llama.cpp/funasr-common examples/

cp -r /path/to/runtime/llama.cpp/<model>/<example-dir> examples/
echo 'add_subdirectory(<example-dir>)' >> examples/CMakeLists.txt
cmake -B build -DGGML_NATIVE=ON -DLLAMA_CURL=OFF
Expand Down