Add OpenHarmony (OHOS) prebuilt binaries#1264
Open
social4hyq wants to merge 2 commits into
Open
Conversation
12fd450 to
0491450
Compare
Add aarch64-unknown-linux-ohos build and runtime support. - scripts/build-npm.js: add OHOS triple - node/index.js: add process.platform === 'openharmony' branch before detect-libc - .github/workflows/release.yml: new build-ohos CI job using Boshen/setup-ohos-sdk
b8d2b83 to
75bd91b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
aarch64-unknown-linux-ohosprebuilt binary and runtime support solightningcssloads natively on OpenHarmony devices without fallback.Changes
scripts/build-npm.js— add OHOS triplenode/index.js— addprocess.platform === 'openharmony'branch.github/workflows/release.yml— newbuild-ohosCI jobDesign decisions
build-ohosjob (no Docker) — existingbuild-linuxusesDocker containers that cannot be conditionalised per-target
Boshen/setup-ohos-sdk@v1.0.0— same action rolldown uses for itsOHOS build, avoids 2.3 GB full SDK download
process.platformcheck beforedetect-libc—detect-libconlyrecognises glibc/musl and misidentifies OHOS as musl
.cargo/config.tomlchanges — linker configured via stepenv:Verification
aarch64-unknown-linux-ohoscompiles successfully →run #27063865363
HongMeng Kernel 1.12.0, arm64) andOpenHarmony ci-runner container (
6.6.0, arm64)