cmake : update android comments (#7341)

This commit is contained in:
Georgi Gerganov 2024-05-19 11:01:01 +03:00
parent f5bf761747
commit 854d365aba
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -12,17 +12,20 @@ cmake_minimum_required(VERSION 3.22.1)
# build script scope). # build script scope).
project("llama-android") project("llama-android")
## Fetch latest llama.cpp from GitHub
#include(FetchContent) #include(FetchContent)
#FetchContent_Declare( #FetchContent_Declare(
# llama # llama
# GIT_REPOSITORY https://github.com/ggerganov/llama.cpp # GIT_REPOSITORY https://github.com/ggerganov/llama.cpp
# GIT_TAG ci-android # GIT_TAG master
#) #)
# #
## Also provides "common" ## Also provides "common"
#FetchContent_MakeAvailable(llama) #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 # Creates and names a library, sets it as either STATIC
# or SHARED, and provides the relative paths to its source code. # or SHARED, and provides the relative paths to its source code.