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
[MONO] Add AOT compiler to desktop runtime pack #48927
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
/cc @lewing |
I think the plan is to move to using the AOT compiler nugets to pull in the compiler, and remove the included one? |
cc @steveisok |
@naricc I responded to you earlier w/o thinking and skipped a few important details. The pattern for our AOT compilers moving forward is to not be bundled inside the runtime pack, but within their own nuget package. At the end of the day, it'll be similar and I don't think generating an osx mono-aot-cross binary is going to be that big of a thing. You would add something like Line 39 in e4a981c
|
So, mono-sgen is already the non-cross AOT compiler, and we already build it right? Should I close out this issue then? |
We build it, but do not bundle it. If we want to use it outside of runtime, then we should package it like the mobile ones. |
Package it like the mobiles ones means put mono-sgen in its own nuget then? |
Presumably. I'd like to think it's as simple as that. /cc @akoeplinger |
@naricc @akoeplinger - is this going to be possible by Preview 7 cutoff ? |
I don't think it is hard to do, but I have never actually done this kind of work before, so it's hard for me to give an accurate estimate. If we want to prioritize it, I don't see why it wouldn't be possible though. |
This is a nice to have feature. Moving to 7.0, not required for 6.0.0 |
This is a useful feature, but not something we have been able to prioritize. |
@akoeplinger Is this a requirement for .NET 8, or can it be postponed after RC1/RC2? |
The runtime pack should include the mono-sgen binary for use as an AOT compiler; this simplifies a lot of testing and benchmarking tasks. It might also be useful for developers who want to test any AOT stuff with out using an iOS/Android simulator.
The text was updated successfully, but these errors were encountered: