Skip to content

[FEATURE] LoongArch64 flavor of libSkiaSharp and libHarfBuzzSharp #3197

Closed
AvaloniaUI/Avalonia
#18571
@4Darmygeometry

Description

@4Darmygeometry

Is your feature request related to a problem?

I need to programming Watt Toolkit in Loongson 3A6000 using AOSC OS on LoongArch, need SkiaSharp and HarfBuzzSharp

Describe the solution you would like

e.g. https://github.com/loongson-community/dotnet-unofficial-build has runtimes/linux-loongarch64 and runtimes/linux-musl-loongarch64. same thing can be done for SkiaSharp and HarfBuzzSharp. toolchains are available in Loongnix 25, AOSC OS, Deepin, Gentoo, ALT Linux, Alpine and so on.

ideally infra should be DRY'd so it's just a matter of adding a single line in shell or cake script for new platform: define_platform(dotnetArch, nativeArch, osName) {. ... expand ... } which will expand to rubberstamped stuff for clang -target .... e.g.

# existing
define_platform("arm64", "aarch64", "linux")
define_platform("arm64", "aarch64", "linux-musl")
define_platform("riscv64", "riscv64", "linux")
define_platform("riscv64", "riscv64", "linux-musl")

# for this feature request
define_platform("loongarch64", "loongarch64", "linux")
define_platform("loongarch64", "loongarch64", "linux-musl")

Describe alternatives you have considered

N/A

Additional context

I hope programmers of mono can accept this issue.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions