-
Notifications
You must be signed in to change notification settings - Fork 12k
cmake : enable warnings in llama #10474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.