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

Upadate the README with instructions for installing gRPC #614

Merged
merged 2 commits into from
Aug 26, 2024

Conversation

Dscano
Copy link
Contributor

@Dscano Dscano commented Aug 25, 2024

I recently attempted to install PI and found that the gRPC installation instructions in the README were outdated. gRPC can now only be installed via Bazel or CMake. The set of commands provided here allowed me to successfully install gRPC and PI with the ./configure --with-proto.

Copy link
Contributor

@jafingerhut jafingerhut left a comment

Choose a reason for hiding this comment

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

I have not tried out all of the cmake options for gRPC that exist in this PR, but have often used cmake to build gRPC from source code, and except for the particular cmake options shown here, these changes look close to what I have used successfully.

README.md Outdated
-DgRPC_BUILD_TESTS=OFF \
-DgRPC_SSL_PROVIDER=package \
../..
make -j4 install
Copy link
Member

Choose a reason for hiding this comment

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

I would guess that typically you will need to sudo to be able to install in a system location, so maybe decouple the build and install steps to be consistent with other instructions?

@antoninbas antoninbas merged commit 5eae9c8 into p4lang:main Aug 26, 2024
3 of 4 checks passed
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