parent
e2444130b5
commit
4244d058c6
@ -1,11 +1,11 @@
|
||||
package cpu
|
||||
|
||||
// #cgo CFLAGS: -O3 -Wno-implicit-function-declaration
|
||||
// #cgo CXXFLAGS: -std=c++17
|
||||
// #cgo CPPFLAGS: -I${SRCDIR}/amx -I${SRCDIR}/llamafile -I${SRCDIR}/.. -I${SRCDIR}/../../include
|
||||
// #cgo CPPFLAGS: -DGGML_USE_LLAMAFILE
|
||||
// #cgo linux CPPFLAGS: -D_GNU_SOURCE
|
||||
// #cgo darwin,arm64 CPPFLAGS: -DGGML_USE_ACCELERATE -DACCELERATE_NEW_LAPACK -DACCELERATE_LAPACK_ILP64
|
||||
// #cgo CFLAGS: -O3 -Wno-implicit-function-declaration -march=la464
|
||||
// #cgo CXXFLAGS: -std=c++17 -march=la464
|
||||
// #cgo darwin,arm64 LDFLAGS: -framework Accelerate
|
||||
import "C"
|
||||
import _ "github.com/ollama/ollama/ml/backend/ggml/ggml/src/ggml-cpu/llamafile"
|
||||
|
Loading…
Reference in new issue