-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Build support for s390x: corehost #53949
Conversation
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov Issue Details
This allows building the host binaries including "dotnet" on s390x, where we only support the Mono runtime. These hosts all build fine with either runtime, it seems they're just not build currently because there's no need to build them twice. (I'm not sure the Windows hosts need to be under the RUNTIME_FLAVOR condition either, but I left them alone since I cannot test whether they actually build with Mono.)
|
* Build the (non-Windows) host binaries with either runtime flavor * s390x architecture support in get_arch utility
Can some host owners please review and sign off on this change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for such a late reply...
Looks good to me. @VSadov could you please take a look as well (if there are potential single-file related issues).
As to the singlefilehost, this is no longer built ouf of the corehost directory, but out of coreclr. This means it is not available on Mono -- this patch has no effect on that. (If we wanted to support a Mono-based singlefilehost, that would require a much larger change, most likely mirroring the coreclr build process inside the mono directory. That would in any case be an independent change.) |
Hi @vitek-karas @VSadov I was wondering if there is any news on this? This PR is now the last missing piece blocking a successful build of the runtime on s390x, so if we could make progress here it would be much appreciated. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. With the refactoring moving the singlefilehost to coreclr I don't think this should run into any problems
Build the (non-Windows) host binaries with either runtime flavor
s390x architecture support in get_arch utility
This allows building the host binaries including "dotnet" on s390x, where we only support the Mono runtime. These hosts all build fine with either runtime, it seems they're just not build currently because there's no need to build them twice.
(I'm not sure the Windows hosts need to be under the RUNTIME_FLAVOR condition either, but I left them alone since I cannot test whether they actually build with Mono.)