Mac mini support: arm64 cross-build installed beside the binary and pushed by arch; ARM machine name from the device tree

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-18 14:13:09 -07:00
co-authored by Claude Fable 5.1
parent b6502ba362
commit a372378098
6 changed files with 28 additions and 4 deletions
+5 -1
View File
@@ -23,7 +23,11 @@ go:
dev:
cd web && npm run dev
deploy: build
# arm64 sibling for aarch64 machines (Mac mini); the hub pushes it to them
cross:
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GO) build -trimpath -ldflags "-s -w -X main.version=$(VERSION)" -o bin/hamlab-linux-arm64 ./cmd/hamlab
deploy: build cross
./deploy/install.sh
@sleep 1; $(PREFIX)/hamlab push-nodes || true