mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-03 18:32:18 +00:00
Update golang-github-ollama-ollama.spec
Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -37,7 +37,7 @@ BuildRequires: git-core systemd-rpm-macros
|
||||
git init .
|
||||
rm -frv llm/llama.cpp
|
||||
pushd llm/
|
||||
git clone --depth=1 --branch f57fadc009cbff741a1961cb7896c47d73978d2c https://github.com/ggerganov/llama.cpp
|
||||
git clone --depth=1 --branch b2527 https://github.com/ggerganov/llama.cpp
|
||||
popd
|
||||
# Turn LTO on and set the build type to Release
|
||||
sed -i 's,T_CODE=on,T_CODE=on -D LLAMA_LTO=on -D CMAKE_BUILD_TYPE=Release,g' llm/generate/gen_linux.sh
|
||||
|
||||
Reference in New Issue
Block a user