-
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
Package Native AOT C++ sources for separate compilation on customer machines #102586
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas |
For this scenario, we should produce simple and straightforward CMake files that have the minimal information required to define the CMake targets necessary to build the libraries. Right now we have a decent amount of logic that's shared with the rest of the runtime repo (functions, shared definitions), and I don't think we want to ship our eng/native directory. |
Is this a duplicate of #83611? I've looked at this in the past, and yeah, the shared CMake files don't make it easy to disconnect from our engineering system. But if we don't use the same files that we use to build the product, it's super easy to forget switches/ifdefs and end up with a different runtime, that could be different in very subtle ways. It also doesn't help that CoreLib relies on files we generate as part of native build and who knows if they could be different. |
Yes, this is duplicate of #83611 |
In some cases, users might want to compile for platforms that .NET doesn't support. Providing the sources (and CMake build files) for external compilation would allow for broader platform builds without increased cost on the runtime side.
The text was updated successfully, but these errors were encountered: