Skip to content

Conversation

@mercersoft
Copy link
Collaborator

Add native ARM64 support for all CycoD tools, enabling optimal performance on Apple Silicon Macs (M1/M2/M3/M4) and ARM-based Linux systems (AWS Graviton, Azure ARM, Raspberry Pi).

Changes:

  • Add osx-arm64 and linux-arm64 to RuntimeIdentifiers in all tool projects
  • Update build scripts to compile and package for ARM64 platforms
  • Fix macOS/Linux compatibility issues in build scripts:
    • Date command syntax (BSD vs GNU date)
    • Grep exit code handling with set -e
    • Realpath portability for non-existent files
  • Update release workflow to include ARM64 packages

Platforms now supported (5 total, up from 3):

  • win-x64 (Windows Intel/AMD)
  • linux-x64 (Linux Intel/AMD)
  • linux-arm64 (NEW - Linux ARM)
  • osx-x64 (macOS Intel)
  • osx-arm64 (NEW - macOS Apple Silicon)

Benefits:

  • Native ARM64 performance on Apple Silicon (no Rosetta 2)
  • ~6% smaller ARM64 binaries vs x64
  • Support for AWS Graviton and Azure ARM instances
  • Raspberry Pi 4/5 compatibility

Validation:

  • All projects build successfully for ARM64 platforms
  • Binary architecture verified (Mach-O arm64)
  • Self-contained executables created and tested
  • Cross-compilation from x64 to ARM64 working

Add native ARM64 support for all CycoD tools, enabling optimal performance on
Apple Silicon Macs (M1/M2/M3/M4) and ARM-based Linux systems (AWS Graviton,
Azure ARM, Raspberry Pi).

Changes:
- Add osx-arm64 and linux-arm64 to RuntimeIdentifiers in all tool projects
- Update build scripts to compile and package for ARM64 platforms
- Fix macOS/Linux compatibility issues in build scripts:
  * Date command syntax (BSD vs GNU date)
  * Grep exit code handling with set -e
  * Realpath portability for non-existent files
- Update release workflow to include ARM64 packages

Platforms now supported (5 total, up from 3):
- win-x64 (Windows Intel/AMD)
- linux-x64 (Linux Intel/AMD)
- linux-arm64 (NEW - Linux ARM)
- osx-x64 (macOS Intel)
- osx-arm64 (NEW - macOS Apple Silicon)

Benefits:
- Native ARM64 performance on Apple Silicon (no Rosetta 2)
- ~6% smaller ARM64 binaries vs x64
- Support for AWS Graviton and Azure ARM instances
- Raspberry Pi 4/5 compatibility

Validation:
- All projects build successfully for ARM64 platforms
- Binary architecture verified (Mach-O arm64)
- Self-contained executables created and tested
- Cross-compilation from x64 to ARM64 working
@mercersoft mercersoft requested a review from robch December 22, 2025 18:41
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.

2 participants