summaryrefslogtreecommitdiff
path: root/examples/main
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2023-09-15 16:59:49 -0400
committerGitHub <noreply@github.com>2023-09-15 16:59:49 -0400
commite6616cf0db2b63189fc34d0076f654af9adecdf8 (patch)
tree5a5d518c2e576972ee097297ed1551b66880914b /examples/main
parent3aefaab9e59335ebb07d5205dbc8633efd680e58 (diff)
examples : add compiler version and target to build info (#2998)
Diffstat (limited to 'examples/main')
-rw-r--r--examples/main/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/main/main.cpp b/examples/main/main.cpp
index e3cc3d39..d7811226 100644
--- a/examples/main/main.cpp
+++ b/examples/main/main.cpp
@@ -149,6 +149,7 @@ int main(int argc, char ** argv) {
}
LOG_TEE("%s: build = %d (%s)\n", __func__, BUILD_NUMBER, BUILD_COMMIT);
+ LOG_TEE("%s: built with %s for %s\n", __func__, BUILD_COMPILER, BUILD_TARGET);
if (params.seed == LLAMA_DEFAULT_SEED) {
params.seed = time(NULL);