From b377ba8656bfb807ed8dda6c9f26942b50ce626d Mon Sep 17 00:00:00 2001 From: Onur Gündüz Date: Mon, 15 Jun 2026 05:50:11 +0200 Subject: cli: update print format in build info --- embed_build.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/embed_build.h b/embed_build.h index f6f3d0f..dc68405 100644 --- a/embed_build.h +++ b/embed_build.h @@ -28,9 +28,9 @@ /* Backend label for --build-info, selected by the same macro that picks the * compiled inference path. */ #if defined(USE_MLX) -#define EMBED_BUILD_BACKENDS "accelerate, mlx" +#define EMBED_BUILD_BACKENDS "accelerate,mlx" #elif defined(USE_CUDA) -#define EMBED_BUILD_BACKENDS "openblas, cuda" +#define EMBED_BUILD_BACKENDS "openblas,cuda" #elif defined(__APPLE__) #define EMBED_BUILD_BACKENDS "accelerate" #else @@ -53,12 +53,12 @@ static inline void embed_print_version(const char *prog) static inline void embed_print_build_info(const char *prog) { embed_print_version(prog); - printf("\ntarget: %s-%s [%s]\n" + printf("backend: %s\n" "compiler: %s\n" "built: %s\n" "commit: %s\n", - EMBED_BUILD_OS, EMBED_BUILD_ARCH, EMBED_BUILD_BACKENDS, - __VERSION__, EMBED_BUILD_DATE, EMBED_BUILD_COMMIT); + EMBED_BUILD_BACKENDS, __VERSION__, + EMBED_BUILD_DATE, EMBED_BUILD_COMMIT); } #endif /* EMBED_BUILD_H */ -- cgit v1.3.1