Daniel Bevenius
69eb250670
cmake : use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR ( #28771 )
...
This commit updates cmake to use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR for paths in function calls.
The motivation for this is that when using add_subdirectory,
CMAKE_SOURCE_DIR is fixed to the top-level projects source directory,
that is the caller of add_subdirectory and not the llama.cpp root
which means that common/common.h header will not be resolved.
Refs: https://github.com/ggml-org/llama.cpp/pull/28091#issuecomment-5636106377
2026-09-15 05:26:09 +02:00
Adrien Gallouët
683b04cc4a
app : add the llama download subcommand ( #24982 )
...
* app : add the download command (with llama-download)
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Remove llama-download tool for now
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
---------
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
2026-06-25 13:36:36 +02:00
Adrien Gallouët
98e480a32e
app : move licences to llama-app ( #23824 )
...
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
2026-05-29 07:46:11 +02:00
Adrien Gallouët
1d7ab2b947
app : add batched-bench, fit-params, quantize & perplexity ( #23459 )
...
* app : add batched-bench, fit-params, quantize & perplexity
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Add missing main.cpp
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Add EOL
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
---------
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
2026-05-21 10:29:44 +03:00
Adrien Gallouët
29f1482221
app : introduce the llama unified executable ( #23296 )
...
* app : introduce the llama unified executable
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Use serve for server
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Hide completion and bench, add help command
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Remove STATIC
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Use -impl targets instead of -lib
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
* Revert "Remove STATIC"
This reverts commit cc44caccb9 .
---------
Signed-off-by: Adrien Gallouët <angt@huggingface.co >
2026-05-20 13:22:22 +02:00