-
Notifications
You must be signed in to change notification settings - Fork 377
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
Tarantool rebuild is slow #5321
Comments
First, I agreed that this is most probably a bug, and we need to find the root cause of this extra make dependency (I know how to do it). But, just in case, I want to note, that I'm surprised you didn't use parallel make build, e.g.
Depending on your local machine configuration it might give you 2x-8x speedup. Also, taking into account that files not changed, CCACHE might give you dramatic speedup also (because majority of object files will be reused from past runs). ccache might be activated manually (i.e. via aliasing CC/CXX to corresponding ccache driver) but in a longer run we should activate it via cmake scripts facilities. |
Here is how to enforce
|
Just try to build ClickHouse for example. |
Rebuilding tarantool from source is very slow when nothing but version changes.
Re-rerunning
cmake && make
when everything is already built normally takes about 5s. But if I change at least version by adding an empty commit it starts rebuilding almost everything:Full log
The text was updated successfully, but these errors were encountered: