Skip to content

[FEATURE] riscv64 flavor of libSkiaSharp and libHarfBuzzSharp #3191

Closed
AvaloniaUI/Avalonia
#18571
@kasperk81

Description

@kasperk81

Is your feature request related to a problem?

i want to use skiasharp on ubuntu 24.04 riscv64 desktop

Describe the solution you would like

e.g. https://nuget.info/packages/SQLitePCLRaw.lib.e_sqlite3/2.1.11 has runtimes/linux-riscv64 and runtimes/linux-musl-riscv64. same thing can be done for SkiaSharp. toolchains are available in modern ubuntu/debian, fedora and alpine.

for ref
ericsink/cb@fe4e425
ericsink/SQLitePCL.raw@685942a

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")

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

Describe alternatives you have considered

N/A

Additional context

No response

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