-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[WIP] MSVC Build Time Improvement - please test #41288
[WIP] MSVC Build Time Improvement - please test #41288
Conversation
/MT 16? is that for like, 16 threads? isn't having a fixed value kinda bad? i have a bat file which sets up the visual studio project to use multiple threads when compiling anyway edit: i think i just didn't understand scons true purpose, i always thought it was a compiler, but i guess it was just a thing ment to setup stuff up? or it does compilation related stuff too? i dunno... it's confusing, i don't really understand it, i'm a bit ignorant on the topic, i just try to get stuff to work as fast as i can mostly xD |
This is mostly an experiment, if it has any fruitful gains we will implement it properly, if not then it's not wasted time. |
Does it require newest MSVC version? |
nah i just messed that flag up so apparently /MD can take optional arguments, but it doesn't work in any msvc version i tried, so for now it's safe to ignore |
I haven't noticed any improvement. 😮 Full rebuild (with
Rebuilding single file on change ( SCons 3.1.1. |
I guess it's entirely possible the fix only applies to AMD CPU's. I can run some new tests next week and determine if its a CPU specific optimization, but yeah the times you are seeing are the ones I would expect to see on windows. 30~ is the normal average for each platform. Before linking was extremel slow on AMD, like large delays, we also have a hang in scons when target=release_debug at 'preparing build' before any compiler commands are registered. |
I am opening this so we can start testing some MSVC fixes, it's not perfect or ready to be reviewed but it does improve the situation a lot for me on my system.
#41271 (comment)