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

enhance: Refine protobuf dependency installation in Makefile #35072

Merged

Conversation

congqixia
Copy link
Contributor

Related to #34394

@sre-ci-robot sre-ci-robot requested review from sunby and zwd1208 July 29, 2024 10:57
@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Jul 29, 2024
@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot added dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement labels Jul 29, 2024
Signed-off-by: Congqi Xia <[email protected]>
@weiliu1031
Copy link
Contributor

/lgtm

@mergify mergify bot added the ci-passed label Jul 29, 2024
@sre-ci-robot sre-ci-robot merged commit d36cfe7 into milvus-io:master Jul 29, 2024
8 of 9 checks passed
OxalisCu pushed a commit to OxalisCu/milvus that referenced this pull request Jul 30, 2024
@ashkrisk
Copy link
Contributor

ashkrisk commented Jul 30, 2024

After this PR, I'm getting a couple of errors at the top of my make build:

[root@79ac523ddf98 milvus]# make mode=Debug
/bin/bash: line 1: print: command not found
/bin/bash: line 1: print: command not found
Download milvus-proto repo ...

I think it has to do with these lines:

PROTOC_GEN_GO_OUTPUT := $(shell print | $(INSTALL_PATH)/protoc-gen-go --version 2>/dev/null)
...
PROTOC_GEN_GO_GRPC_OUTPUT := $(shell print | $(INSTALL_PATH)/protoc-gen-go-grpc  --version 2>/dev/null)

The build still goes through, but it would be nice to clean up the errors

Edit: Looks like this is a zsh/bash compatibility issue. Raised a PR to replace print with echo which works on both shells: #35097

sumitd2 pushed a commit to sumitd2/milvus that referenced this pull request Aug 6, 2024
weiliu1031 pushed a commit to weiliu1031/milvus that referenced this pull request Aug 19, 2024
weiliu1031 pushed a commit to weiliu1031/milvus that referenced this pull request Aug 19, 2024
sre-ci-robot pushed a commit that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/compilation ci-passed dco-passed DCO check passed. kind/enhancement Issues or changes related to enhancement lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants