summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-19 11:01:01 +0300
committerGeorgi Gerganov <ggerganov@gmail.com>2024-05-19 11:01:01 +0300
commit854d365abab7194b5013a523f72da19860c3c550 (patch)
treea90dd985072ee43b11fd7fd1bc00585409f2d2ed /examples
parentf5bf761747988ee1832766f7d1433739aff810da (diff)
cmake : update android comments (#7341)
Diffstat (limited to 'examples')
-rw-r--r--examples/llama.android/app/src/main/cpp/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/llama.android/app/src/main/cpp/CMakeLists.txt b/examples/llama.android/app/src/main/cpp/CMakeLists.txt
index 688a4750..4536974a 100644
--- a/examples/llama.android/app/src/main/cpp/CMakeLists.txt
+++ b/examples/llama.android/app/src/main/cpp/CMakeLists.txt
@@ -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.