llm: fix build on amd64

This commit is contained in:
Jeffrey Morgan 2023-10-06 14:39:54 -07:00
parent af4cf55884
commit ab0668293c

View file

@ -15,4 +15,4 @@ package llm
//go:generate git -C gguf apply ../patches/0001-remove-warm-up-logging.patch
//go:generate cmake -S gguf -B gguf/build/cpu -DLLAMA_ACCELERATE=on -DLLAMA_K_QUANTS=on -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_OSX_ARCHITECTURES=x86_64 -DCMAKE_OSX_DEPLOYMENT_TARGET=11.0
//go:generate cmake --build gguf/build/cpu --target server --config Release
//go:generate mv gguf/build/metal/bin/server gguf/build/metal/bin/ollama-runner
//go:generate mv gguf/build/cpu/bin/server gguf/build/cpu/bin/ollama-runner