-
Notifications
You must be signed in to change notification settings - Fork 29
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
partial rebuilding #33
Comments
Yes, this seems to be a windows feature - my build suffers from this also. Something in there is forcing a clean rebuild... @jamesadevine is it possible to test a ninja-less build with just cmake? |
Nothing forces a clean rebuild. The script enters the build folder and executes |
Is there a way to not use ninja though? As a means to honing in on the cause of the problem? |
Ah I see, you can use whatever build system you want...
Change Ninja to any other supported one listed here: https://cmake.org/cmake/help/v3.0/manual/cmake-generators.7.html#command-line-build-tool-generators There are not many options for windows, and make runs really slowly. I imagine this is specific to ninja as partial rebuilding is supported on Mac using make.
|
Ta. Yes, just looking. make doesn't run slowly compared to a clean rebuild all the time . ;) I've just been digging and it seems to come down to one header file that (I guess) is being regenerated every build, which in turn makes everything look dirty. My windows logs are full of:
|
I'll have a look to see if we can do something more optimised with that header file. |
ok - quick test then... Could you just run |
already tried that - it doesn't rebuild, just relinks the final binaries... Anything magical about "codal_extra_definitions.h" in the build process? |
Could you replace the similar looking code at line 175, with this:
And report back? |
yes, I was just looking slightly askew at that code. Will try now. |
It looks like make does its' diff process differently to ninja. |
yup - that fixes it for me. |
Great, will push. |
Thanks James. |
If I execute
python build.py
immediately after itself, I would have expected a much faster build time. It seems to be rebuilding all the files all over again.The text was updated successfully, but these errors were encountered: