Skip to content

Makefile: fix dependencies, use auto variables #983

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

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

sw
Copy link
Contributor

@sw sw commented Apr 14, 2023

llama.o was missing a dependency on ggml.h, which caused inconsistent builds for me when switching between branches.

This also introduces automatic variables (crib: the arrow in $< points left to the first prerequisite, the arrow in $^ points up to all the prerequisites).

The benchmark target is a bit weird in that it doesn't refer to a file, but I didn't want to change this too much.

@sw sw requested review from unbounded and prusnak April 14, 2023 19:25
@ggerganov ggerganov merged commit 93265e9 into ggml-org:master Apr 14, 2023
@sw sw deleted the make-dep branch April 14, 2023 19:43
jeroen-mostert pushed a commit to jeroen-mostert/llama.cpp that referenced this pull request Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants