diff options
| author | Onur Gündüz <ogunduz@gmail.com> | 2026-06-15 05:50:11 +0200 |
|---|---|---|
| committer | Onur Gündüz <ogunduz@gmail.com> | 2026-06-15 05:50:11 +0200 |
| commit | b377ba8656bfb807ed8dda6c9f26942b50ce626d (patch) | |
| tree | e6ad1429e65b0e1fe7320af3b30a25a07de362d5 | |
| parent | d717f607807a931d3352af8778f17779a3b6f71a (diff) | |
| download | ffwd-b377ba8656bfb807ed8dda6c9f26942b50ce626d.tar.gz ffwd-b377ba8656bfb807ed8dda6c9f26942b50ce626d.zip | |
cli: update print format in build info
| -rw-r--r-- | embed_build.h | 10 |
1 files 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 */ |
