feat: add scripts/zig-ffi.sh

This script can be used to compile the libraries
used in the Android application without the NDK.
This commit is contained in:
link2xt
2023-06-26 15:36:49 +00:00
parent 8d26303cad
commit bf9eb35f53
2 changed files with 44 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ and an own build machine.
- `zig-rpc-server.sh` compiles binaries of `deltachat-rpc-server` using Zig toolchain statically linked against musl libc.
- `zig-ffi.sh` compiles C libraries into LLVM bitcode using Zig toolchain with musl libc.
- `android-rpc-server.sh` compiles binaries of `deltachat-rpc-server` using Android NDK.
## Triggering runs on the build machine locally (fast!)