mirror of
https://github.com/ollama/ollama
synced 2026-04-23 08:45:14 +00:00
cgo: suppress deprecated warning to quiet down go build (#15438)
This commit is contained in:
parent
ee0266462a
commit
0abf3aca36
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue