remove -Werror

there are compile warnings on Linux which -Werror elevates to errors,
preventing compile
This commit is contained in:
Michael Yang 2023-07-31 15:54:10 -07:00
parent 9968153729
commit 319f078dd9

View file

@ -1,7 +1,7 @@
package llama
/*
#cgo CPPFLAGS: -O3 -Wall -Wextra -Werror -Wno-unused-function -Wno-unused-variable -DNDEBUG -DGGML_USE_K_QUANTS
#cgo CPPFLAGS: -O3 -Wall -Wextra -Wno-unused-function -Wno-unused-variable -DNDEBUG -DGGML_USE_K_QUANTS
#cgo CXXFLAGS: -std=gnu++11
#cgo darwin CPPFLAGS: -DGGML_USE_ACCELERATE
#cgo darwin,arm64 CPPFLAGS: -DGGML_USE_METAL -DGGML_METAL_NDEBUG