nandi/frqpublic Fork 0
36f6c77d9a7dcfa050a3394893c6fe4867ddbc2c
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

libvidya-android.dotslash · 65 lines · 2.2 KBGDScript3 Blame HistoryRaw
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago1#!/usr/bin/env dotslash
2
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago3// libvidya for the phone, from jolt-native's v0.1.3 release.
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago4//
5// arm64, API 28, built by NDK r29 through jolt-native's buck2 toolchain. The
6// same object `just ffi-android` produces there, pinned so that building the
7// APK needs neither that checkout nor an NDK.
8//
Take every jolt-native half from the release, and only from there a008d3b nandi 18d ago9// This is the only answer, and deliberately: a checkout used to win over it,
10// which meant the APK on a phone depended on which directories happened to sit
11// beside this one. To build against a jolt-native you are editing, cut a
12// release of it and point these manifests at it `just bump <tag>`.
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago13{
14 "name": "libvidya-android",
15 "platforms": {
16 "linux-x86_64": {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago17 "size": 14150473,
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago18 "hash": "sha256",
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago19 "digest": "4519745bae6db9a791a71b38a26478879e246166802b0a48dbf7d45e4d45a108",
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago20 "format": "tar.gz",
21 "path": "libvidya.so",
22 "providers": [
23 {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago24 "url": "https://gitlab.com/nandithebull/jolt-native/-/releases/v0.1.3/downloads/jolt-native-android-arm64-v0.1.3.tar.gz"
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago25 }
26 ]
27 },
28 "linux-aarch64": {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago29 "size": 14150473,
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago30 "hash": "sha256",
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago31 "digest": "4519745bae6db9a791a71b38a26478879e246166802b0a48dbf7d45e4d45a108",
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago32 "format": "tar.gz",
33 "path": "libvidya.so",
34 "providers": [
35 {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago36 "url": "https://gitlab.com/nandithebull/jolt-native/-/releases/v0.1.3/downloads/jolt-native-android-arm64-v0.1.3.tar.gz"
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago37 }
38 ]
39 },
40 "macos-x86_64": {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago41 "size": 14150473,
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago42 "hash": "sha256",
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago43 "digest": "4519745bae6db9a791a71b38a26478879e246166802b0a48dbf7d45e4d45a108",
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago44 "format": "tar.gz",
45 "path": "libvidya.so",
46 "providers": [
47 {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago48 "url": "https://gitlab.com/nandithebull/jolt-native/-/releases/v0.1.3/downloads/jolt-native-android-arm64-v0.1.3.tar.gz"
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago49 }
50 ]
51 },
52 "macos-aarch64": {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago53 "size": 14150473,
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago54 "hash": "sha256",
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago55 "digest": "4519745bae6db9a791a71b38a26478879e246166802b0a48dbf7d45e4d45a108",
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago56 "format": "tar.gz",
57 "path": "libvidya.so",
58 "providers": [
59 {
Pin the media plane, now that there is a release to pin 03d5a6b nandi 18d ago60 "url": "https://gitlab.com/nandithebull/jolt-native/-/releases/v0.1.3/downloads/jolt-native-android-arm64-v0.1.3.tar.gz"
Build the APK with buck2, from pins rather than from a second checkout a71ef8f nandi 18d ago61 }
62 ]
63 }
64 }
65}