mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 20:37:31 +01:00
fix llama.cpp build
This commit is contained in:
@@ -24,9 +24,9 @@
|
||||
//go:generate cmake --build build
|
||||
package llama
|
||||
|
||||
// #cgo LDFLAGS: -Lbuild -lbinding -lllama -lggml_static -lstdc++
|
||||
// #cgo LDFLAGS: -Lbuild -lbinding -lllama -lm -lggml_static -lstdc++
|
||||
// #cgo CXXFLAGS: -std=c++11
|
||||
// #cgo darwin LDFLAGS: -framework Accelerate -framework Foundation -framework Metal -framework MetalKit -framework MetalPerformanceShaders
|
||||
// #cgo darwin CXXFLAGS: -std=c++11
|
||||
// #include "binding/binding.h"
|
||||
import "C"
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user