-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
chore(docker): change the cmake's build tool from make
to ninja
#4658
Conversation
Signed-off-by: Yutaka Kondo <[email protected]>
4a099bc
to
6759b18
Compare
|
Is ninja installed on the system? Could you share the step that installs it? |
Signed-off-by: Yutaka Kondo <[email protected]>
Signed-off-by: Yutaka Kondo <[email protected]>
@youtalk -san, why was this closed? |
@xmfcx Just no reason. I’ve reopened. Please review again. |
@youtalk why did you remove it this time? |
Because no one reviews. |
Description
This PR has changed the cmake's build tool from
make
toninja
.ninja
is typically faster thanmake
to rebuild modified source code.So when using cache properly, the
ninja
build time would be faster thanmake
.https://ninja-build.org/
The results of the
colcon build
time using my local PC are shown below. There may be a few overhead.make
: 40min 59.55sninja
: 41min 57.07sTests performed
Not applicable.
Effects on system behavior
Not applicable.
Interface changes
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.