-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add s390x support in a few places in eng/native build scripts #56426
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
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
eng/native/functions.cmake
Outdated
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.
a nit: based on the condition on callsite if (CLR_CMAKE_USE_SYSTEM_LIBUNWIND), this is unused on platforms that use the in-tree libunwind (like linux-s390x).
If you would revert it, please leave a # comment on top of this function to make it clearer for future reader.
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.
Ah, actually if you intentionally want to use system libunwind, then you can pass ./build.sh -cmakeargs CLR_CMAKE_USE_SYSTEM_LIBUNWIND=1 or ./build.sh --portable=false. nvm, disregard please. :)
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.
Yes, exactly. This is just to allow that use case.
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue Details
|
* Make isMSBuildOnNETCoreSupported return true on s390x (fixes generating version headers) * Add s390x platform-specific library name in find_unwind_libs (enables linking against system-provided libunwind)
|
This would also be good to have in .NET 6, in particular the version headers change. |
|
/backport to release/6.0 |
|
Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/1182727583 |
Make isMSBuildOnNETCoreSupported return true on s390x
(fixes generating version headers)
Add s390x platform-specific library name in find_unwind_libs
(enables linking against system-provided libunwind)