Skip to content

Commit 40eefac

Browse files
ckastnerMinh141120
authored andcommitted
cmake: Add ability to pass in LLAMA_BUILD_NUMBER/COMMIT (ggml-org#14167)
* cmake: Add ability to pass in LLAMA_BUILD_NUMBER/COMMIT * cmake: Pass on LLAMA_BUILD_* to GGML_BUILD_*
1 parent e57e5ee commit 40eefac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ endif()
9595
if (NOT DEFINED LLAMA_BUILD_COMMIT)
9696
set(LLAMA_BUILD_COMMIT ${BUILD_COMMIT})
9797
endif()
98-
set(LLAMA_INSTALL_VERSION 0.0.${LLAMA_BUILD_NUMBER})
98+
set(LLAMA_INSTALL_VERSION 0.0.${BUILD_NUMBER})
9999

100100
# override ggml options
101101
set(GGML_ALL_WARNINGS ${LLAMA_ALL_WARNINGS})

0 commit comments

Comments
 (0)