cgo: use O3

This commit is contained in:
Michael Yang 2025-01-30 12:05:50 -08:00
parent 5d75d837ef
commit bea1f1fac6
11 changed files with 13 additions and 1 deletions

View file

@ -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