Commit ae9e9c1
authored
add platforms automatic build and test (#2)
* feat: add platform builds and packages
* feat: update Makefile for relative build paths and add adam.swift
* feat: enhance Makefile for platform-specific Objective-C compilation and testing
* feat: add additional compiler flags for sqlite-memory module
* fix: update Android ARCH error messages to remove armeabi-v7a option
* feat: update Makefile for Android to use C++ driver and static libc++ linking
* feat: update Makefile for SQLite extension to use C++ driver and add feature-test macros
* feat: update CFLAGS in Makefiles to use gnu11 standard for compatibility
* feat: implement portable strndup function for compatibility across platforms
* feat: add portable memmem implementation for MinGW compatibility
* feat: update Vulkan installation process and improve Makefile for static library prefix
* feat: enhance Vulkan installation in CI and improve Makefile for dynamic library handling
* feat: update Vulkan installation in CI and enhance Makefile for static library linking
* feat: update Makefile for platform-specific linking and library order
* feat: enhance Makefile to support GPU backends with Vulkan and OpenCL libraries
* feat: update Makefile to use correct Vulkan library flag for Windows platform
* feat: add zlib-dev dependency for linux-musl and docker builds
* feat: update Makefile to correctly link -lz for Linux and Android platforms
* feat: add git dependency to Alpine Docker setup in CI workflow
* feat: configure git safe.directory in Alpine Docker setup for proper permissions
* feat: update linux-musl arm64 test command to skip unit tests in Alpine Docker
* feat: update Vulkan installation steps in CI workflow for compatibility
* feat: update installation command for Vulkan to use glslc package
* feat: update CI build configuration to disable sanitizers and refine unit test handling
* feat: refine build job naming and update macOS test conditions for better clarity
* feat: add macOS x86_64 build step for sqlite3 shell to support architecture compatibility
* feat: replace mkdir with platform-specific adam_mkdir for cross-platform compatibility
* feat: enhance LLAMA_LIBS to support MinGW Ninja by resolving ggml library variants
* feat: enhance Makefile for platform-specific library linking and support for Vulkan/OpenCL
* feat: improve Windows compatibility by adding _access check and ensuring /tmp directory exists for tests
* feat: create necessary POSIX-style directories for MinGW compatibility in tests
* feat: ensure existence of POSIX-style directories before running tests on all platforms
* feat: remount Android filesystem as read-write and create /tmp and /var for POSIX compatibility
* fix: update file paths for Android compatibility in tests and define platform-specific temporary directories
* fix: update shell command for Android compatibility and ensure existence of TEST_VAR directory in tests
* feat: add size-reduction and dead-code elimination flags for SQLite extension and main build
* fix: clean code and optimize extension flags
* fix: move platform-specific shared-extension filename logic in Makefile
* fix: update Package.swift checksum handling and add artifact existence check1 parent 34cee28 commit ae9e9c1
29 files changed
Lines changed: 2423 additions & 121 deletions
File tree
- .github/workflows
- extensions
- postgres
- sqlite
- packages
- android
- gradle/wrapper
- src/main
- flutter
- hook
- lib
- src
- swift
- src
- test
| 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 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
0 commit comments