Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
132fd42a
Commit
132fd42a
authored
8 years ago
by
Eric Gribkoff
Browse files
Options
Downloads
Patches
Plain Diff
Update instructions for building grpc_cli from a fresh copy of the gRPC
repository.
parent
6f690f34
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/command_line_tool.md
+22
-3
22 additions, 3 deletions
doc/command_line_tool.md
with
22 additions
and
3 deletions
doc/command_line_tool.md
+
22
−
3
View file @
132fd42a
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
## Overview
## Overview
This document describes the command line tool that comes with gRPC repository. It is desir
e
able to have command line
This document describes the command line tool that comes with gRPC repository. It is desirable to have command line
tools written in other languages
to
roughly follow the same syntax and flags.
tools written in other languages roughly follow the same syntax and flags.
At this point, the tool needs to be built from source, and it should be moved out to grpc-tools repository as a stand
At this point, the tool needs to be built from source, and it should be moved out to grpc-tools repository as a stand
alone application once it is mature enough.
alone application once it is mature enough.
...
@@ -30,7 +30,26 @@ The command line tool should support the following things:
...
@@ -30,7 +30,26 @@ The command line tool should support the following things:
## Code location
## Code location
To use the tool, you need to get the grpc repository and in the grpc directory execute
To use the tool, you need to get the grpc repository and make sure your system
has the prerequisites for building grpc from source, given in the
[
installation
instructions
](
https://github.com/grpc/grpc/blob/master/INSTALL.md
)
.
In order to build the grpc command line tool from a fresh clone of the grpc
repository, you need to run the following command to update submodules:
```
git submodule update --init
```
You also need to have the gflags library installed on your system. On Linux
systems, gflags can be installed with the following command:
```
sudo apt-get install libgflags-dev
```
Once the prerequisites are satisfied, you can build the command line tool with
the command:
```
```
$ make grpc_cli
$ make grpc_cli
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment