mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 02:16:36 +02:00
cgo: use O3
This commit is contained in:
parent
5d75d837ef
commit
bea1f1fac6
11 changed files with 13 additions and 1 deletions
|
@ -3,6 +3,7 @@ package llama
|
|||
/*
|
||||
#cgo CFLAGS: -std=c11
|
||||
#cgo CXXFLAGS: -std=c++17
|
||||
#cgo CPPFLAGS: -O3
|
||||
#cgo CPPFLAGS: -I${SRCDIR}/llama.cpp/include
|
||||
#cgo CPPFLAGS: -I${SRCDIR}/llama.cpp/common
|
||||
#cgo CPPFLAGS: -I${SRCDIR}/llama.cpp/examples/llava
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue