feat/arm-cross-compilation #259

Merged
johnride merged 2 commits from feat/arm-cross-compilation into master 2026-04-11 11:13:52 +00:00
Owner
No description provided.
johnride added 2 commits 2026-04-10 15:11:10 +00:00
Adds ARM (Raspberry Pi) cross-compilation support for harmony_agent
and harmony_inventory_agent.

- .cargo/config.toml: aarch64-linux-gnu-gcc linker
- build/cross-arm.sh: local cross-build script with prereq checks
- .gitea/workflows/arm-agents.yaml: CI workflow that builds both
  agents for aarch64 on tagged releases and uploads them as
  release assets (same pattern as harmony_inventory_agent already
  uses)

Removes the unused 'harmony' dependency from harmony_agent — it
was vestigial (no actual imports) and was the only thing pulling
in heavy C deps (libvirt via virt) that blocked ARM builds.
fix(build): mark cross-arm.sh executable
All checks were successful
Run Check Script / check (pull_request) Successful in 1m54s
abb57b4059
Author
Owner

This would deserve some refactoring to avoid so much duplication to upload the asset and compile only on a different target.

This would deserve some refactoring to avoid so much duplication to upload the asset and compile only on a different target.
johnride merged commit 5891d07bb4 into master 2026-04-11 11:13:51 +00:00
johnride deleted branch feat/arm-cross-compilation 2026-04-11 11:13:58 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: NationTech/harmony#259
No description provided.