Repository navigation
Use /INCREMENTAL:NO for Debug - #86170
Conversation
|
@dotnet/jit-contrib |
|
@dotnet/runtime-infrastructure @AaronRobinsonMSFT |
hoyosjs
left a comment
There was a problem hiding this comment.
Still surprised this requires VS to repro and not just using link.exe, but if we haven't seen it elsewhere...
|
@kunalspathak I think we should just fix #64082. |
I agree, but I don't have enough knowledge in that area to figure out what is the right fix. Given that the original issue is open from at least 5 months, I want to at least do an interim fix because it is very painful during codegen development whenever we create coreclr.sln, we have to remember to manually turn this setting OFF before doing the build. We can certainly revert this when we fix it properly. |
|
Does this affect incremental builds using the command line? I've never seen the problem, but I always build using the command line |
It shouldn't and that's the reason we have the condition about |
Okay. Let me take a look. |
Co-authored-by: Jasper <[email protected]>
|
This is the correct fix for #64082. |
|
Tagging subscribers to this area: @hoyosjs Issue DetailsStop doing Fixes #64082.
|
|
|
||
| if (CMAKE_GENERATOR MATCHES "^Visual Studio.*$") | ||
| # Debug build specific flags | ||
| # The Ninja generator doesn't appear to have the default `/INCREMENTAL:ON` that |
There was a problem hiding this comment.
@AaronRobinsonMSFT There is no /INCREMENTAL:ON switch, so this is confusing.
https://learn.microsoft.com/en-us/cpp/build/reference/incremental-link-incrementally?view=msvc-170
There was a problem hiding this comment.
guess that's a typo
Stop doing
/INCREMENTAL:YESFixes #64082.