Expose Iris benchmark in Dev Updater
This commit is contained in:
1 parent
fffed42f9e
commit
f5183af306
2 files changed
+20
-5
No files matched your search
+14
-3
@@ -17,9 +17,9 @@ label: "AI Sessions",
|
|||||||
// three constants -- there is nothing here worth spawning a process for.
|
// three constants -- there is nothing here worth spawning a process for.
|
||||||
resources: Ron("resources.ron"),
|
resources: Ron("resources.ron"),
|
||||||
|
|
||||||
// The two halves this checkout produces: the server a phone talks to, and
|
// The server and three independently installable app surfaces this checkout
|
||||||
// the app that talks to it. They are built in parallel -- this list is the
|
// produces. They are built in parallel -- this list is the set, not a
|
||||||
// set, not a sequence, so nothing here should be read as an order.
|
// sequence, so nothing here should be read as an order.
|
||||||
components: [
|
components: [
|
||||||
Server(
|
Server(
|
||||||
name: "server",
|
name: "server",
|
||||||
@@ -55,6 +55,17 @@ components: [
|
|||||||
// the terminal the QR would be printed on.
|
// the terminal the QR would be printed on.
|
||||||
enroll: "server/enroll-link.sh",
|
enroll: "server/enroll-link.sh",
|
||||||
),
|
),
|
||||||
|
// The deterministic Rust/iris transcript benchmark. Its release build
|
||||||
|
// is arm64 by default and signed with the same machine-local key as the
|
||||||
|
// Compose app.
|
||||||
|
// `cwd` scopes APK discovery to app-rust, while commands containing a
|
||||||
|
// slash resolve from the project root, per Dev Updater's command model.
|
||||||
|
Apk(
|
||||||
|
name: "iris-bench",
|
||||||
|
modes: ["release", "debug"],
|
||||||
|
build: "app-rust/build-apk.sh",
|
||||||
|
cwd: "app-rust",
|
||||||
|
),
|
||||||
// E5 (RUST.md): app/shellApp packaged by the xtask instead of Gradle
|
// E5 (RUST.md): app/shellApp packaged by the xtask instead of Gradle
|
||||||
// (cargo ndk -> javac -> d8 -> aapt2 -> zipalign -> apksigner), signed
|
// (cargo ndk -> javac -> d8 -> aapt2 -> zipalign -> apksigner), signed
|
||||||
// with the same release key as "app" above so the two can install
|
// with the same release key as "app" above so the two can install
|
||||||
|
|||||||
@@ -148,8 +148,12 @@ Module-by-module intent is in `docs/PLAN.md`'s "Backend layout".
|
|||||||
pans, flings or lays out a long list.
|
pans, flings or lays out a long list.
|
||||||
- `.dev-updater.ron` — what Dev Updater builds here: the server (run as
|
- `.dev-updater.ron` — what Dev Updater builds here: the server (run as
|
||||||
`service: Managed(…)`, supervised by Dev Updater's own implementation
|
`service: Managed(…)`, supervised by Dev Updater's own implementation
|
||||||
rather than a script kept here) and the APK, in parallel. It points at
|
rather than a script kept here), the Compose app, the Rust/iris benchmark
|
||||||
`resources.ron`, which is *ours* rather than Dev Updater's — it names
|
APK, and the shell APK, in parallel. The iris benchmark is its own
|
||||||
|
`iris-bench` component rooted at `app-rust/`; its release mode is the arm64
|
||||||
|
phone build with the `transcript-screen bench` features. The file points at
|
||||||
|
`resources.ron`, which is *ours* rather than
|
||||||
|
Dev Updater's — it names
|
||||||
`~/.local/share/ai-app` and `~/.config/ai-app` so the Uninstall dialog can
|
`~/.local/share/ai-app` and `~/.config/ai-app` so the Uninstall dialog can
|
||||||
offer them. Note what deleting the config directory takes with it: the CA
|
offer them. Note what deleting the config directory takes with it: the CA
|
||||||
under `certs`, which is the one-way door. **Stop** on the server card stops
|
under `certs`, which is the one-way door. **Stop** on the server card stops
|
||||||
|
|||||||
Reference in new issue
Block a user