Conversation
danbev
left a comment
There was a problem hiding this comment.
Could these blocks be moved to the parent CMakeLists.txt to avoid the duplication?
|
Probably we can refactor this in a function call and put it in the |
|
Agree, let's not duplicate this code. Either a function of storing C/C++ flags in a common variable should do it. |
f4f2a88 to
e908ace
Compare
slaren
left a comment
There was a problem hiding this comment.
It might also make sense to rename get_flags to something like ggml_get_flags to make it clear where it comes from.
|
I didn't notice |
|
I think it would be ok to use |
ggml-ci
* cmake : enable warnings in llama ggml-ci * cmake : add llama_get_flags and respect LLAMA_FATAL_WARNINGS * cmake : get_flags -> ggml_get_flags * speculative-simple : fix warnings * cmake : reuse ggml_get_flags ggml-ci * speculative-simple : fix compile warning ggml-ci
Enable more compile warnings in CMake builds.