Skip to content

cmake : add install step for libllama and llama.h #1124

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 1 commit into from

Conversation

grencez
Copy link
Contributor

@grencez grencez commented Apr 22, 2023

This helps dependent CMake projects find the lib and header when they pull in llama.cpp with ExternalProject_Add().

This helps dependent CMake projects find the lib and header
when they pull in llama.cpp with ExternalProject_Add().
@grencez
Copy link
Contributor Author

grencez commented Apr 23, 2023

FetchContent is cleaner than ExternalProject_Add() and works without this PR. Closing this as unnecessary.

It might still be a good idea to have an install step, but there's probably more considerations than just putting a lib & header in system dirs. For example, the Nix flake doesn't seem to install either! No need to force the issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant