Skip to content

Add OpenHarmony (OHOS) aarch64 prebuilt binary#1766

Open
social4hyq wants to merge 2 commits into
voidzero-dev:mainfrom
social4hyq:main
Open

Add OpenHarmony (OHOS) aarch64 prebuilt binary#1766
social4hyq wants to merge 2 commits into
voidzero-dev:mainfrom
social4hyq:main

Conversation

@social4hyq
Copy link
Copy Markdown

@social4hyq social4hyq commented Jun 4, 2026

Add aarch64-unknown-linux-ohos build support so vite-plus runs
natively on OpenHarmony devices.

Changes

  • packages/cli/package.json — add OHOS to napi.targets
  • .github/workflows/reusable-release-build.yml — add OHOS matrix entry
  • .github/actions/build-upstream/action.yml — add OHOS toolchain + build steps

Design decisions

  • No separate build-ohos job needed@napi-rs/cli >= 3.2.0
    supports OHOS natively via @napi-rs/cross-toolchain
  • No manual linker configuration — napi-rs v3 handles it automatically
  • Reuses existing matrix — OHOS entry sits alongside other Linux targets
  • --use-napi-cross skipped for OHOS — napi-rs v3 cross-compilation
    path is different from the gnu/musl napi-cross pipeline

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 4, 2026

Deploy Preview for viteplus-preview canceled.

Name Link
🔨 Latest commit e28d680
🔍 Latest deploy log https://app.netlify.com/projects/viteplus-preview/deploys/6a24a469cec6d80008ef17b2

Add aarch64-unknown-linux-ohos build support.

- packages/cli/package.json: add OHOS to napi.targets
- .github/workflows/reusable-release-build.yml: add OHOS matrix entry
- .github/actions/build-upstream/action.yml: add OHOS toolchain + build steps
@social4hyq social4hyq changed the title feat: add OpenHarmony (OHOS) native build targets Add OpenHarmony (OHOS) aarch64 prebuilt binary Jun 6, 2026
@social4hyq social4hyq force-pushed the main branch 4 times, most recently from ca67af6 to baf4c8c Compare June 6, 2026 16:21
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.

1 participant