summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-05-18 13:40:39 +0300
committerGitHub <noreply@github.com>2024-05-18 20:40:39 +1000
commit511182eabb36f6ec9776e2b3c4d7e16d93d0ac0d (patch)
tree267174dd58c2113dde3c412ea6a4bfe393258c32 /examples
parent133d99c59980139f5bb75922c8b5fca67d7ba9b8 (diff)
android : use "ci-android" branch for CI (#7341)
* android : use "ci-android" branch for CI * ggml : disable SIMD exp and silu for 32-bit ARM ggml-ci * android : do not fetch, use add_subdirectory instead * cmake : provide binary dir
Diffstat (limited to 'examples')
-rw-r--r--examples/llama.android/app/src/main/cpp/CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/examples/llama.android/app/src/main/cpp/CMakeLists.txt b/examples/llama.android/app/src/main/cpp/CMakeLists.txt
index 85139329..688a4750 100644
--- a/examples/llama.android/app/src/main/cpp/CMakeLists.txt
+++ b/examples/llama.android/app/src/main/cpp/CMakeLists.txt
@@ -12,15 +12,17 @@ cmake_minimum_required(VERSION 3.22.1)
# build script scope).
project("llama-android")
-include(FetchContent)
-FetchContent_Declare(
- llama
- GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
- GIT_TAG master
-)
+#include(FetchContent)
+#FetchContent_Declare(
+# llama
+# GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
+# GIT_TAG ci-android
+#)
+#
+## Also provides "common"
+#FetchContent_MakeAvailable(llama)
-# Also provides "common"
-FetchContent_MakeAvailable(llama)
+add_subdirectory(../../../../../../ please-work)
# Creates and names a library, sets it as either STATIC
# or SHARED, and provides the relative paths to its source code.