-
Notifications
You must be signed in to change notification settings - Fork 224
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
Build process is slow to start #46
Comments
Specs?
I don't see a "minute delay" when updating pokeruby. |
It takes around 4 seconds to run If you want to modify the code but not any of the graphics, you could consider using a modified makefile that doesn't scan the asm files for dependencies. |
This is on my old Pentium 4 desktop (Yeah, I refuse to let it go). Most of the time is dominated by disk activity from scaninc which seems to recursively scan the .s files every time make is invoked. I've put in a rule in my custom Makefile to build .s files from .c files, so I can type "make src/foo.s" and instantly have it compile foo.c into foo.s with no delay. |
Good idea. |
I've noticed that even when trying to compile a single C file, for example, |
|
NODEP solves this issue. |
NODEP only solves it if you are making changes to just the assembly or programming and not changing any header files. If you are doing anything else, you still need to wait. |
Not much can be done about that, except for caching the dependencies, possibly. |
You still have to stat the files, which isn't exactly fast. Ideally you could listen for filesystem changes (eg linux |
When running 'make' to rebuild the project after changing a single file (or when not even changing anything), it takes almost a whole minute before it starts compiling. This makes it rather annoying when trying to test my C code against the disassembly. I presume this is due to the massive amount of dependencies that Make has to keep track of and checking the timestamp on the thousands of files in the graphics directory takes some time.
The text was updated successfully, but these errors were encountered: