mirror of
https://github.com/ollama/ollama.git
synced 2026-04-17 19:54:03 +02:00
cgo: suppress deprecated warning to quiet down go build (#15438)
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
package common
|
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}/../include -I${SRCDIR}/../vendor
|
||||||
// #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include
|
// #cgo CPPFLAGS: -I${SRCDIR}/../../../ml/backend/ggml/ggml/include
|
||||||
import "C"
|
import "C"
|
||||||
|
|||||||
Reference in New Issue
Block a user