Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Side by Side Diff: third_party/grpc/INSTALL.md

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/grpc/Gemfile ('k') | third_party/grpc/LICENSE » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #If you are in a hurry
2
3 For language-specific installation instructions for gRPC runtime, please
4 refer to these documents
5
6 * [C++](examples/cpp): Currently to install gRPC for C++, you need to build fro m source as described below.
7 * [C#](src/csharp): NuGet package `Grpc`
8 * [Go](https://github.com/grpc/grpc-go): `go get google.golang.org/grpc`
9 * [Java](https://github.com/grpc/grpc-java)
10 * [Node](src/node): `npm install grpc`
11 * [Objective-C](src/objective-c)
12 * [PHP](src/php): `pecl install grpc-beta`
13 * [Python](src/python/grpcio): `pip install grpcio`
14 * [Ruby](src/ruby): `gem install grpc`
15
16
17 #Pre-requisites
18
19 ##Linux
20
21 ```sh
22 $ [sudo] apt-get install build-essential autoconf libtool
23 ```
24
25 ##Mac OSX
26
27 For a Mac system, git is not available by default. You will first need to
28 install Xcode from the Mac AppStore and then run the following command from a
29 terminal:
30
31 ```sh
32 $ [sudo] xcode-select --install
33 ```
34
35 ##Protoc
36
37 By default gRPC uses [protocol buffers](https://github.com/google/protobuf),
38 you will need the `protoc` compiler to generate stub server and client code.
39
40 If you compile gRPC from source, as described below, the Makefile will
41 automatically try and compile the `protoc` in third_party if you cloned the
42 repository recursively and it detects that you don't already have it
43 installed.
44
45
46 #Build from Source
47
48 For developers who are interested to contribute, here is how to compile the
49 gRPC C Core library.
50
51 ```sh
52 $ git clone https://github.com/grpc/grpc.git
53 $ cd grpc
54 $ git submodule update --init
55 $ make
56 $ [sudo] make install
57 ```
OLDNEW
« no previous file with comments | « third_party/grpc/Gemfile ('k') | third_party/grpc/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698