mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 10:26:53 +02:00
cgo: use O3
This commit is contained in:
parent
5d75d837ef
commit
bea1f1fac6
11 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
package llava
|
||||
|
||||
// #cgo CXXFLAGS: -std=c++11
|
||||
// #cgo CPPFLAGS: -O3
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../../include -I${SRCDIR}/../../common
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../../../../ml/backend/ggml/ggml/include
|
||||
import "C"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package llama
|
||||
|
||||
// #cgo CXXFLAGS: -std=c++17
|
||||
// #cgo CPPFLAGS: -O3
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../include
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include
|
||||
// #cgo windows CPPFLAGS: -D_WIN32_WINNT=0x0602
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue