Skip to content

Add ARM (armhf/armel) prebuilt binary support - #8374

Closed
FangyangJz wants to merge 1 commit into
nwjs:mainfrom
FangyangJz:fix-issue-1151
Closed

FangyangJz wants to merge 1 commit into
nwjs:mainfrom
FangyangJz:fix-issue-1151

Conversation

@FangyangJz

Copy link
Copy Markdown

Summary

This PR adds ARM (armhf/armel) prebuilt binary support for NW.js, extending the existing ARM64 support to include 32-bit ARM devices like Raspberry Pi.

Changes

BUILD.gn

  • Added armhf architecture mapping for target_cpu == arm in both the Linux dump and dist targets
  • This ensures proper package naming for 32-bit ARM builds

tools/package_binaries.py

  • Updated architecture comment to include arm/armhf/armel
  • Added ARM-specific handling for Linux binary packaging
  • ARM builds may not include Vulkan/SwiftShader libraries
  • Added v8_context_snapshot.arm.bin handling for ARM targets

.github/workflows/build-arm.yml

  • New GitHub Actions workflow for automated ARM cross-compilation
  • Supports both ARM (armhf) and ARM64 (aarch64) builds
  • Configurable for SDK and normal builds

docs/Building-ARM.md

  • Comprehensive documentation for building NW.js on ARM
  • Includes prerequisites, build instructions, and troubleshooting

README.md

  • Updated Linux download section to include armhf binary link

Fixes #1151

- Add armhf architecture mapping in BUILD.gn for Linux dump and dist targets
- Update package_binaries.py to handle arm/armhf/armel architectures
- Add GitHub Actions workflow for ARM cross-compilation (arm and arm64)
- Add build documentation for ARM cross-compilation
- Update README with ARM download links

Fixes #1151
@ayushmanchhabra

Copy link
Copy Markdown
Contributor

NW.js uses BuildBot (http://buildbot.nwjs.io:8010) to compile and release binaries. I don't know if there are plans to support 32 bit since everyone is moving to 64 bit.

@FangyangJz FangyangJz closed this by deleting the head repository Sep 18, 2026
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.

prebuilt for ARM devices... [$65]

2 participants