Skip to content

Accept ninja-build binary in place of ninja #38627

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

Merged
merged 1 commit into from
Dec 29, 2016

Conversation

hanna-kruppe
Copy link
Contributor

@hanna-kruppe hanna-kruppe commented Dec 27, 2016

See comment in the diff for rationale.

r? @alexcrichton

// OK
} else {
need_cmd("ninja".as_ref)
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could look like:

if !have_cmd("ninja-build".as_ref()) {
    need_cmd("ninja".as_ref())
}

The comment can just indicate that if ninja-build is present we won't need ninja because CMake detects both.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@alexcrichton
Copy link
Member

@bors: r+

Thanks!

@bors
Copy link
Collaborator

bors commented Dec 27, 2016

📌 Commit d44bcbf has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Dec 29, 2016

⌛ Testing commit d44bcbf with merge 3f957eb...

bors added a commit that referenced this pull request Dec 29, 2016
Accept ninja-build binary in place of ninja

See comment in the diff for rationale.

r? @alexcrichton
@bors
Copy link
Collaborator

bors commented Dec 29, 2016

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 3f957eb to master...

@bors bors merged commit d44bcbf into rust-lang:master Dec 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants