Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

cgo: suppress deprecated warning to quiet down go build (#15438)

Daniel Hiltgen0abf3aca3659
diff --git a/llama/llama.cpp/common/common.go b/llama/llama.cpp/common/common.go
index e11bb1679..4a18328b8 100644
--- a/llama/llama.cpp/common/common.go
+++ b/llama/llama.cpp/common/common.go
@@ -1,6 +1,6 @@
package common
-// #cgo CXXFLAGS: -std=c++17
+// #cgo CXXFLAGS: -std=c++17 -Wno-deprecated-declarations
// #cgo CPPFLAGS: -I${SRCDIR}/../include -I${SRCDIR}/../vendor
// #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include
import "C"