]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
cmake : update android comments (#7341)
authorGeorgi Gerganov <redacted>
Sun, 19 May 2024 08:01:01 +0000 (11:01 +0300)
committerGeorgi Gerganov <redacted>
Sun, 19 May 2024 08:01:01 +0000 (11:01 +0300)
examples/llama.android/app/src/main/cpp/CMakeLists.txt

index 688a4750df3f7f678a2be493f8be3e2bacf43127..4536974a5c50c66383d37c63825a5b042e7f1cee 100644 (file)
@@ -12,17 +12,20 @@ cmake_minimum_required(VERSION 3.22.1)
 # build script scope).
 project("llama-android")
 
+## Fetch latest llama.cpp from GitHub
 #include(FetchContent)
 #FetchContent_Declare(
 #        llama
 #        GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
-#        GIT_TAG        ci-android
+#        GIT_TAG        master
 #)
 #
 ## Also provides "common"
 #FetchContent_MakeAvailable(llama)
 
-add_subdirectory(../../../../../../ please-work)
+# llama.cpp CI uses the code from the current branch
+# ref: https://github.com/ggerganov/llama.cpp/pull/7341#issuecomment-2117617700
+add_subdirectory(../../../../../../ build-llama)
 
 # Creates and names a library, sets it as either STATIC
 # or SHARED, and provides the relative paths to its source code.