Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HarmonyOS NEXT system #13184

Open
88250 opened this issue Nov 18, 2024 · 5 comments
Open

Support HarmonyOS NEXT system #13184

88250 opened this issue Nov 18, 2024 · 5 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Nov 18, 2024

支持鸿蒙系统 https://github.com/siyuan-note/siyuan-harmony

golang 不支持直接编译鸿蒙支持的共享库:

但可以通过修改 go 源码来绕过该问题,参考 @richerfu 大佬的文章 https://juejin.cn/post/7400961014051897379

image

@88250 88250 self-assigned this Nov 18, 2024
@88250 88250 changed the title 支持鸿蒙系统 Support HarmonyOS NEXT system Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
88250 added a commit that referenced this issue Nov 18, 2024
@hyperiris
Copy link

这个方案看起来是因为没有引入cgo,所以没有牵扯到musl,所以不会有问题。但是在复杂的业务场景里,出现了cgo、gomobile可能会不太行

@richerfu
Copy link

这个方案看起来是因为没有引入cgo,所以没有牵扯到musl,所以不会有问题。但是在复杂的业务场景里,出现了cgo、gomobile可能会不太行

完全正确,事实上更加完善的适配可以参考:https://gitee.com/wefuture/golang_go/tree/feature%2Ftlsgd_mode_support/

由社区大佬提供,本人对于 GO 研究不多仅限于浅薄的适配~

88250 added a commit that referenced this issue Nov 22, 2024
@88250 88250 added this to the backlog milestone Nov 22, 2024
@88250
Copy link
Member Author

88250 commented Nov 22, 2024

@hyperiris @richerfu 目前已经可以拉起内核,模拟器和云调试都可以跑了 🙏

EightDoor added a commit to EightDoor/siyuan that referenced this issue Nov 22, 2024
* commit '928c1d476a4b398bdee3752cc950aed85838bf8f': (148 commits)
  🔖 Release v3.1.13
  🐛 Automatic cleanup of the local data repo may accidentally delete snapshots siyuan-note#13203
  🎨 Add internal kernel API `/api/sqlite/flushTransaction` siyuan-note#10005
  🐛 Automatic cleanup of the local data repo may accidentally delete snapshots siyuan-note#13203
  🎨 删除块,嵌入块中没有同步删除
  💄
  🔖 Release v3.1.12
  ⬆️ eslint
  🎨 Improve graph rendering siyuan-note#13196
  🎨 siyuan-note#13143
  🎨 siyuan-note#13190
  📝 Update changelogs
  ⬆️
  🎨 Improve av option editing siyuan-note#11484
  🎨 siyuan-note#13164
  🎨 Support HarmonyOS NEXT system siyuan-note#13184
  🎨 siyuan-note#11053
  🚨
  🎨 siyuan-note#11053
  🎨 Support HarmonyOS NEXT system siyuan-note#13184
  ...
88250 added a commit that referenced this issue Nov 23, 2024
@88250 88250 pinned this issue Nov 23, 2024
@aspirantioner
Copy link

@88250 老哥可以交流下解决方案吗,我目前也在尝试鸿蒙中引入go

@88250
Copy link
Member Author

88250 commented Nov 25, 2024

@aspirantioner 请参考 issue 正文中的文章

88250 added a commit that referenced this issue Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants