mirror of
https://github.com/ollama/ollama.git
synced 2026-04-19 00:54:22 +02:00
Rename the ollama cmakefile
This commit is contained in:
@@ -26,8 +26,8 @@ git_module_setup() {
|
||||
|
||||
apply_patches() {
|
||||
# Wire up our CMakefile
|
||||
if ! grep ollama.txt gguf/examples/server/CMakeLists.txt; then
|
||||
echo 'include (../../../ollama.txt)' >>gguf/examples/server/CMakeLists.txt
|
||||
if ! grep ollama gguf/examples/server/CMakeLists.txt; then
|
||||
echo 'include (../../../CMakeLists.txt) # ollama' >>gguf/examples/server/CMakeLists.txt
|
||||
fi
|
||||
# Avoid duplicate main symbols when we link into the cgo binary
|
||||
sed -e 's/int main(/int __main(/g' <./gguf/examples/server/server.cpp >./gguf/examples/server/server.cpp.tmp &&
|
||||
|
||||
Reference in New Issue
Block a user