Skip to content

feat(hermes-compiler): publish Linux ARM64 hermesc - #2195

Open
nnnnoel wants to merge 1 commit into
meta:static_hfrom
nnnnoel:feat/linux-arm64-hermesc-package
Open

nnnnoel wants to merge 1 commit into
meta:static_hfrom
nnnnoel:feat/linux-arm64-hermesc-package

Conversation

@nnnnoel

@nnnnoel nnnnoel commented Sep 23, 2026

Copy link
Copy Markdown

Summary

  • Build hermesc on both x86-64 and native Linux ARM64 runners in the npm release workflow.
  • Include the ARM64 binary at hermesc/linuxarm64-bin/hermesc in hermes-compiler, while retaining the existing linux64-bin binary and path.
  • Fail the release when the ARM64 artifact is missing, and verify that both Linux binaries appear in the npm package.

Fixes #2194.

Validation

  • Built the hermesc CMake target in a native Linux ARM64 Ubuntu 24.04 container using the release build flags. The binary ran --version (HBC bytecode version 99) and produced a nonempty .hbc file from a sample JavaScript input. The final optional file inspection in that container was unavailable because the minimal image lacks file(1); compilation and bytecode generation completed before that command.
  • Confirmed npm pack --dry-run --json includes both Linux compiler paths in a staging package.
  • Parsed both changed workflow YAML files, ran node --check on the packaging script, and ran git diff --check.

This supplies the ARM64 host binary. Consumers that hard-code linux64-bin will still need to select the new path when running on Linux ARM64.

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Sep 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish a Linux ARM64 (aarch64) hermesc binary in hermes-compiler

1 participant