Skip to content

Support ARM64 hosts by building from source (#343) - #346

Open
lucbocahut wants to merge 1 commit into
mainfrom
arm64-build-from-source
Open

lucbocahut wants to merge 1 commit into
mainfrom
arm64-build-from-source

Conversation

@lucbocahut

Copy link
Copy Markdown
Contributor

Closes #343

What changes

  • Installer: facts() accepts aarch64/arm64. source_build() returns true on ARM64 Linux, so install, host_update and migration updates build the UI and workers on the host. The root installer and migration bootstrap skip staging prepared (amd64-only) assets on those hosts. amd64 behaviour is unchanged.
  • Harness manifests: binary harnesses now declare binaries.{x86_64,aarch64}.{url,sha256}; install.cjs picks the entry for the build architecture and fails with a named message if the manifest lists no entry for it. Grok 1.0.34 publishes https://x.ai/cli/grok-1.0.34-linux-aarch64 (ARM aarch64 ELF, statically linked), so it stays available on ARM64.
  • npm harnesses: Claude Code 2.1.273 and Codex 0.163.0 ship linux-arm64 optional packages; nothing pins x64.
  • Base images: NODE_IMAGE, PYTHON_IMAGE and MONGO_IMAGE digests are OCI image indexes including linux/arm64/v8. No change needed.
  • Docs: Apple Silicon (ARM64) VM section in docs/cli-fresh-host.md; README and prepared-release notes updated.

Verify on a real ARM64 VM

Native runner/full image builds, mongod 8.0 in the full worker, Chromium, bubblewrap/AppArmor/seccomp canaries, and Grok's strict sandbox on native aarch64.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4

Accept aarch64 Ubuntu 24.04 hosts. Prepared releases are amd64-only, so
ARM64 Linux hosts always take the existing build-from-source path for
install and update, and skip staging prepared assets.

Binary harness manifests now pin one URL and sha256 per architecture.
Grok 1.0.34 publishes a linux-aarch64 build, so it stays available on ARM64.
Document running Forge in an Apple Silicon VM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GvCDky7pWJx1VVhmNxftM4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ARM64 hosts (Apple Silicon VMs) by building from source

1 participant