-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
ci: add bash script to check if llama-impl.h was included erroneously #11617
base: master
Are you sure you want to change the base?
ci: add bash script to check if llama-impl.h was included erroneously #11617
Conversation
…folder erronously
Expected output if
|
FYI, this is just a quick proposal. I don't mind if this is not really needed. But we can at least add rules to this bash script as we go along anyway. |
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.
Seems reasonable to me
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.
Yup, it's not really necessary since this is easy to notice during reviews. But I agree we can probably expand the pre-compile checks with more useful logic in the future.
Just fix the indentation to 4 spaces since this is what most scripts use. And the Makefile
is not relevant anymore, so no need to update it in the future.
This shouldn't be possible without adding an include directory. If the llama.cpp src directory is being available to the examples, that needs to be fixed. |
This is the problem: Line 32 in 8ec0583
The |
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.
Fix the include directories instead.
This is the best fix |
…folder erronously
Okay let's try that on #11631 Do we want any other precompile checks? If not then we could close this PR... or have it committed but as a stub for future development edit: CI failed with the change proposed by Slaren in #11631 so this PR will still be useful until then. |
This PR will add some automation to checks against certain includes.
Unsure how to add to make, so the client side checks is only for makefile for now.
This rule is based on Ggerganov's directive in #11596 (review)