Skip to content

Extend clang-cross to support alpine - #3200

Merged
mattleibow merged 7 commits into
mono:mainfrom
kasperk81:main-musl
Mar 22, 2025
Merged

mattleibow merged 7 commits into
mono:mainfrom
kasperk81:main-musl

Conversation

@kasperk81

Copy link
Copy Markdown
Contributor

Description of Change

Share clang-cross infra between debian and alpine to avoid duplication. Enable arm64 and riscv64 alpine builds in CI.

Bugs Fixed

API Changes

None.

Behavioral Changes

None.

Required skia PR

None.

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Merged related skia PRs
  • Changes adhere to coding standard
  • Updated documentation

Comment thread scripts/azure-templates-stages.yml Resolved
@mattleibow

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mattleibow

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@kasperk81 kasperk81 changed the title Add riscv64 build support Extend clang-cross to support alpine Mar 15, 2025
@4Darmygeometry

Copy link
Copy Markdown
Contributor

@mattleibow

@mattleibow

Copy link
Copy Markdown
Contributor

For a separate reason (#3201) I have been working on this PR: #3209

I noticed that I can build everything on Debian 10 still - and would prefer to do so to get more version coverage. I know you/this PR is refactoring things, but after my PR there will be only one Docker file. Hopefully. We may still need this refactoring if we merge the #3198 PR to add LoongArch64. That looks like it may need Debian 13 so may be worth a totally separate Dockerfile if things go a bit different.

Not sure if you have any thoughts on my PR?

@mattleibow

mattleibow commented Mar 18, 2025 •

Copy link
Copy Markdown
Contributor

Ah, I am a bit dumb - you are also adding an alpine cross. So yeah, this PR is still needed.

But, it would still be good to get @kasperk81 and @4Darmygeometry eyes on that to make sure I am not breaking something for later PRs

mattleibow
mattleibow previously approved these changes Mar 18, 2025
@mattleibow

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@4Darmygeometry

4Darmygeometry commented Mar 19, 2025 •

Copy link
Copy Markdown
Contributor

apk.static for loongarch64 can be download in http://dl-cdn.alpinelinux.org/alpine/v3.21/main/loongarch64/apk-tools-static-2.14.6-r3.apk.
The apk.static needs to be updated to version 2.14.6 to ensure compatibility with both RISC-V64 and LoongArch64

@kasperk81

Copy link
Copy Markdown
Contributor Author

it's for host not the target. secondly it's unrelated to this pr.

@mattleibow

Copy link
Copy Markdown
Contributor

I am probably going to have to mere #3200 which will also merge your code. Thanks to your first PR, we can now build alpine and debian for all architectures.

@kasperk81

Copy link
Copy Markdown
Contributor Author

@mattleibow i don't understand why this pr cannot be merged on its own?

@mattleibow

Copy link
Copy Markdown
Contributor

I suppose no reason if you think about it. My PR is yours + some more changes. So, I guess since this is green and my PR uses yours... it is good to go.

Not sure what was going on in my mind. For some reason I thought well "we got 2 PRs touching the same files that will be a problem"... I guess I forgot what "git" in GitHub was. It must have been a late night lol.

@mattleibow
mattleibow merged commit 5bf7f9c into mono:main Mar 22, 2025
@4Darmygeometry

4Darmygeometry commented Mar 22, 2025 •

Copy link
Copy Markdown
Contributor

@kasperk81

Copy link
Copy Markdown
Contributor Author

it's networking error, don't worry about it.

ERROR: failed to solve: process "/bin/sh -c curl https://dot.net/v1/dotnet-install.sh

CI -> blob network is broken. they will rerun it. last run on pr was all green

@kasperk81
kasperk81 deleted the main-musl branch March 22, 2025 17:33
@mattleibow

Copy link
Copy Markdown
Contributor

Thanks @kasperk81 for getting this ready to go! I am always excited for more skia coverage.

@mattleibow

Copy link
Copy Markdown
Contributor

Hi folks,

The builds are now available on the preview feed: https://aka.ms/skiasharp-eap/index.json
Let me know if version 3.119.0-preview.0.38 is now working again for you.

As soon as you let me know, I can release this to NuGet and then hopefully a stable version shortly afterwards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants