Skip to content

Commit

Permalink
cmake : update android comments (ggerganov#7341)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed May 19, 2024
1 parent f5bf761 commit 854d365
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/llama.android/app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 854d365

Please sign in to comment.