Skip to content
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

Fix protobuf headers check. #5381

Merged
merged 1 commit into from
May 8, 2020
Merged

Fix protobuf headers check. #5381

merged 1 commit into from
May 8, 2020

Conversation

martinmr
Copy link
Contributor

@martinmr martinmr commented May 6, 2020

If installed from a package manager, the header files will be at
/usr/include not /usr/local/include.

This change fixes the check by looking at both places and including
them in the call to protoc.


This change is Reviewable

If installed from a package manager, the header files will be at
/usr/include not /usr/local/include.

This change fixes the check by looking at both places and including
them in the call to protoc.
@martinmr martinmr requested review from manishrjain and a team as code owners May 6, 2020 22:55
@martinmr martinmr requested a review from danielmai May 7, 2020 17:37
Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

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

If there's a way to remove these checks completely, I'm all for it.

This does work, so :lgtm:

Reviewable status: 0 of 2 files reviewed, all discussions resolved (waiting on @danielmai and @manishrjain)

Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

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

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@martinmr martinmr merged commit cd8917f into master May 8, 2020
@martinmr martinmr deleted the martinmr/proto-include branch May 8, 2020 21:26
martinmr added a commit that referenced this pull request May 15, 2020
If installed from a package manager, the header files will be at
/usr/include not /usr/local/include.

This change fixes the check by looking at both places and including
them in the call to protoc.
martinmr added a commit that referenced this pull request May 15, 2020
If installed from a package manager, the header files will be at
/usr/include not /usr/local/include.

This change fixes the check by looking at both places and including
them in the call to protoc.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 18, 2020
If installed from a package manager, the header files will be at
/usr/include not /usr/local/include.

This change fixes the check by looking at both places and including
them in the call to protoc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants