Skip to content
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

cmake: add required ggml-base and backend libs to cmake pkg #10407

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

bandoti
Copy link
Contributor

@bandoti bandoti commented Nov 19, 2024

In order to statically link with the new backend architecture, ggml-base, and each backend library ggml-cpu, ggml-cuda, etc... must be available for linking. This change adds the static libraries to the install target and updates the CMake package to find the appropriate backends.

@github-actions github-actions bot added the build Compilation issues label Nov 19, 2024
@slaren slaren merged commit 2a11b6b into ggerganov:master Nov 19, 2024
54 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Compilation issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants