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

Add arm mariner build images #836

Merged
merged 2 commits into from
Apr 7, 2023
Merged

Conversation

sbomer
Copy link
Member

@sbomer sbomer commented Mar 31, 2023

This adds the arm images which were left out of #832. They include logic to download the numa headers, working around packages that didn't exist for arm in Ubuntu 16.04 or Alpine 3.13.

See dotnet/arcade#12144 for context on why we need the numa headers installed.

Contributes to dotnet/runtime#83428

@janvorli @am11 @mthalman PTAL

@sbomer
Copy link
Member Author

sbomer commented Apr 3, 2023

Looks like downloading the headers won't be necessary with dotnet/runtime#84207. Thanks @am11!

@sbomer sbomer changed the title Add arm mariner build images with numa headers Add arm mariner build images Apr 3, 2023
@am11
Copy link
Member

am11 commented Apr 3, 2023

@sbomer, thanks. I was thinking about NativeAOT static executable use-case, where we have option to link libnuma statically in the binary. The license of libnuma is LGPL 2.1, which restricts linking code with differently-licensed apps. Even using its headers could be problematic as wordings in license look a bit vague. Above all, our usage was pretty simple (like cgroup, for which we don't use any lib either), so I ended up simplifying the support instead.

FYI: @ayakael, .NET 8+ build machines won't be needing libnuma anymore (after dotnet/runtime#84207).

Copy link
Member

@janvorli janvorli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@sbomer
Copy link
Member Author

sbomer commented Apr 6, 2023

@mthalman please merge when you have a chance.

@mthalman mthalman merged commit 290f679 into dotnet:main Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants