This commit is contained in:
dane madsen
2023-11-04 19:27:04 +10:00
parent ff8e3551cb
commit f5eb782a29
10 changed files with 6 additions and 6 deletions

4
.gitmodules vendored
View File

@@ -1,4 +1,4 @@
[submodule "lib/core/llama.cpp"]
path = lib/core/llama.cpp
[submodule "core/llama.cpp"]
path = core/llama.cpp
url = https://github.com/ggerganov/llama.cpp.git
branch = master

View File

@@ -90,7 +90,7 @@ android {
externalNativeBuild {
cmake {
path "../../lib/core/CMakeLists.txt"
path "../../core/CMakeLists.txt"
}
}
}

View File

@@ -137,5 +137,5 @@ if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
COMPONENT Runtime)
endif()
add_subdirectory(../lib/core core)
add_subdirectory(../core core)
install(FILES ${PROJECT_BINARY_DIR}/bin/libcore.so DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime)

View File

@@ -61,7 +61,7 @@ ffigen:
output: lib/core/bindings.dart
headers:
entry-points:
- "lib/core/core.h"
- "core/core.h"
# The following section is specific to Flutter packages.
flutter:

View File

@@ -104,5 +104,5 @@ install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
set(CMAKE_INSTALL_BINDIR ${BUILD_BUNDLE_DIR})
# Build the core library.
add_subdirectory(../lib/core core)
add_subdirectory(../core core)
install(FILES ${PROJECT_BINARY_DIR}/core/Release/core.dll DESTINATION ${BUILD_BUNDLE_DIR})