mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-07 16:37:57 +02:00
Let llama_print_build_info write to a caller-provided FILE* instead of hardcoding stderr. The parameter defaults to stderr so existing callers keep their current behavior. The version command in llama-app now passes stdout, so plain version output goes to stdout where users expect it. Signed-off-by: Adrien Gallouët <angt@huggingface.co>
14 lines
270 B
C
14 lines
270 B
C
#pragma once
|
|
|
|
#include <cstdio>
|
|
|
|
int llama_build_number(void);
|
|
|
|
const char * llama_commit(void);
|
|
const char * llama_compiler(void);
|
|
|
|
const char * llama_build_target(void);
|
|
const char * llama_build_info(void);
|
|
|
|
void llama_print_build_info(const char *, FILE * = stderr);
|