-
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
Add components to the coreclr native build #38571
Comments
/cc @jkoritzinsky |
What would be the benefit of this? If you build the coreclr once, then making changes in say jit or gc rebuilds just that component and on Unix, the build skims over the up-to date components very quickly (in a matter of few seconds). |
A few seconds for a no-op is still pretty annoying to wait for. When I'm doing crossgen2 work, I often only care about RyuJIT. Skipping the rest of the native build would save me minutes. |
I meant that it skims over all the up to date components in a matter of seconds. So it is not clear to me how it would save minutes. Native part of build-runtime.sh when all components are up to date takes 7 seconds on my 8+ years old devbox. |
Right the other bit is that this is the case on unix; however, unless you are familiar enough with the build system to open a specific vcxproj and rebuild that on windows. The rebuild cycle is less efficient. |
Sorry, I should have split that into two paragraphs. The second paragraph would start with the "When I'm doing crossgen2 work, I often only care about RyuJIT.". Being able to build just RyuJIT after a |
Ah, ok, makes sense then. |
I think this has been implemented by #49906. Should we close this? |
Yes, this has been implemented. |
Currently it is possible on windows to build components of the build by rebuilding a specific vcxproj and this hack is the only way to build a subtree. This does not translate well to other platforms, or other generators like ninja.
Doing this work will allow building portions of the runtime. One could imagine for example
build.sh -s clr.jit
orbuild.sh -s clr.gc
.The text was updated successfully, but these errors were encountered: