-
Notifications
You must be signed in to change notification settings - Fork 601
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
Audit build caching #40
Comments
The first item to address is that templated message files are always overwritten. The above four PRs change that so that the generated files are only overwritten when their content actually changes. Otherwise they are not touched. Update: The job finally confirms that it still builds and passes tests: http://54.183.26.131:8080/view/ros2/job/ros2_batch_ci_linux/44/ |
I can't find any unnecessary operations in the log of a repeated build anymore. @esteve @tfoote @wjwwood Please run a repeated build (with the above PRs checked out / merged) and review the build log. Then either confirm that this can be closed or comment with specific parts from the build log which should be skipped. |
These individually looks reasonable. However there's a lot of repeated code snippets for the write file if changed which would be much better to consolidate into a function. (11 instances) |
@tfoote I agree that refactoring the functionality would be desired but I would consider that for a separate PR. |
separate is fine by me ticketed: #44 to not forget. |
Closing for now. If anybody notices any rebuilding on repeated invocation please comment here and the ticket can be reopened. |
It seems that repeat builds of the ROS 2 stack with
ament build
will result in rebuilding or even regenerating code in parts of the system.See: ament/ament_tools#32 (comment)
The text was updated successfully, but these errors were encountered: