-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ set(CMAKE_C_STANDARD 99) | |
set(CMAKE_C_STANDARD_REQUIRED ON) | ||
|
||
include(FetchContent) | ||
include(ExternalProject) | ||
|
||
|
||
# sqlite amalgamation, for up-to-date headers and sqlite3 CLI | ||
|
@@ -23,12 +24,12 @@ set(LLAMA_METAL OFF) | |
set(LLAMA_STATIC ON) | ||
set(LLAMA_OPENMP OFF) | ||
|
||
ExternalProject_Add( | ||
"llama.cpp" | ||
FetchContent_Declare( | ||
llama_cpp | ||
GIT_REPOSITORY [email protected]:ggerganov/llama.cpp.git | ||
GIT_TAG b3091 | ||
) | ||
|
||
FetchContent_MakeAvailable(llama_cpp) | ||
|
||
# sqlite-lembed loadable | ||
add_library(sqlite_lembed SHARED sqlite-lembed.c) | ||
|