From 319f078dd981d1a5cb3445db238683df9d1481d6 Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Mon, 31 Jul 2023 15:54:10 -0700 Subject: [PATCH] remove -Werror there are compile warnings on Linux which -Werror elevates to errors, preventing compile --- llama/llama.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama/llama.go b/llama/llama.go index fe09c717..86bf0c54 100644 --- a/llama/llama.go +++ b/llama/llama.go @@ -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