]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
cmake : disable warnings about unused functions
authorGeorgi Gerganov <redacted>
Sat, 7 Jan 2023 19:05:33 +0000 (21:05 +0200)
committerGeorgi Gerganov <redacted>
Sat, 7 Jan 2023 19:05:33 +0000 (21:05 +0200)
src/CMakeLists.txt

index f5c5f9b759cba9b12bbcaca896bdcd6f0c19c0b5..c39816029cd3842d3a6d029ce2bef73187917fbe 100644 (file)
@@ -9,6 +9,7 @@ if (GGML_ALL_WARNINGS)
             -Wcast-qual                     \
             -Wstrict-prototypes             \
             -Wpointer-arith                 \
+            -Wno-unused-function            \
         ")
     else()
         # todo : windows