Commit 1f92a43
authored
add platform builds and tests (#1)
* Add main.yml workflow and update Makefile and .gitignore; missing LICENSE.md; fix sqlite-memory.c to load extension only when it is statically linked
* Update main.yml and dbmem-utils.c for build configuration and timestamp handling
* Fix Makefile to use single quotes for architecture options in LLAMA_OPTIONS
* Add extension loading test to Makefile; add missing sqlite3 header file
* Fix return value check in dbmem_compute_uuid_v7 for Windows platform
* Refactor Makefile for platform-specific build configurations; streamline LLAMA options and link flags for macOS, iOS, and Android
* Update build configurations for linux-musl; add missing dependencies and improve platform detection
* Refactor GitHub Actions and Makefile for Windows builds; streamline conditions and improve command execution
* Update llama.cpp cmake options in Makefile
* Update Windows build dependencies in GitHub Actions to use mingw-w64-x86_64-sqlite3
* Add Android package dependencies; Fix XCFramework to use make's foreach to avoid shell escaping issues with PLIST/MODULEMAP
* Create temporary directory before running unit tests
* Update Windows LLAMA build flags and XCFramework target build script
* Update unit test temporary directory handling for cross-platform compatibility
* Refactor Makefile to use GGML_PREFIX for library paths and installation
* Fix Windows platform library prefix handling in Makefile for llama.cpp
* Revert Makefile to use build directory paths instead of cmake --install
* Add Windows platform support for llama.cpp build with cmake --install paths
* Refactor Android testing steps in CI workflow to build and execute unit tests
* clean Makefile an main.yml workflow
* fix Android test builds
* cleanup: remove sqlite amalgamation zip after download
* fix(android): update TEST_LDFLAGS to include -static-libstdc++
* fix(android): update TEST_LDFLAGS and add TEST_LINK_EXTRAS for static-libstdc++
* fix(android, ios, ios-sim): remove OMIT_IO setting for platform builds
* fix(android): add TEST_TMP_DIR definition for Android platform builds
* feat: add curl build infrastructure for remote embedding support
* feat: add e2e network tests
* fix: add binaries strip commands for each platform, and missing e2e tests dependencies for CI
* fix: linux musl e2e test vector extension path
* fix: update musl detection logic1 parent db9707c commit 1f92a43
File tree
31 files changed
+25470
-165
lines changed- .github/workflows
- curl/include
- curl
- packages/android
- gradle/wrapper
- src/main
- src
- test
31 files changed
+25470
-165
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
1 | 55 | | |
2 | 56 | | |
3 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments