Add OpenHarmony as a tier 3 target (for Spidermonkey)
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
People
(Reporter: jonathan.schwender, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
3.67 KB,
text/plain
|
Details |
Steps to reproduce:
I would like to formally request adding OpenHarmony OS (OH) as tier 3 target to Firefox. The expectation here wouldn't be that Firefox should work on OH, but instead that the build-system and Spidermonkey can receive some minor OH specific patches. Examples would be:
- Specializing the logging on OH to go to OH's logging system
hilog
instead of stderr. - Adding a flag to mmap for the JIT pages when compiling for OH.
Currently servo
already has openharmony support, but needs to carry some minor patches for spidermonkey downstream. Ideally, these patches could be upstreamed. The patches are minor and not invasive, so they shouldn't negatively affect any existing platform code.
I previously already filled out the Spidermonkey form on adding support for a new architecture, and attached it here.
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::JavaScript Engine' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 month ago
|
||
Can you post (a link to) the patches in this bug? That would help us evaluate this.
Reporter | ||
Comment 3•1 month ago
|
||
If it's okay, I'll just link to the github PRs in downstream mozjs. Otherwise I could also extract the patchfiles and inline the patches here.
- redirect logging on OpenHarmony to hilog: https://github.com/servo/mozjs/pull/488/files
- fix JIT mmap on latest HarmonyOS Beta version: https://github.com/servo/mozjs/pull/491/files
Updated•1 month ago
|
Reporter | ||
Comment 4•4 days ago
|
||
Friendly ping. I'm still interested in getting some feedback if mozilla would be willing to accept OpenHarmony related patches upstream, that are already merged downstream in the servo mirrors (currently spidermonkey and also one minor webrender patch)
Description
•