Merge pull request #1761 from stevvooe/update-protoc
README, travis: update protobuf compiler version
This commit is contained in:
commit
a542cf7dac
10
.travis.yml
10
.travis.yml
@ -20,7 +20,7 @@ addons:
|
|||||||
- libnl-3-dev
|
- libnl-3-dev
|
||||||
- libnet-dev
|
- libnet-dev
|
||||||
- protobuf-c-compiler
|
- protobuf-c-compiler
|
||||||
- protobuf-compiler
|
# - protobuf-compiler
|
||||||
- python-minimal
|
- python-minimal
|
||||||
- libcap-dev
|
- libcap-dev
|
||||||
- libaio-dev
|
- libaio-dev
|
||||||
@ -35,8 +35,12 @@ before_install:
|
|||||||
- uname -r
|
- uname -r
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- wget https://github.com/google/protobuf/releases/download/v3.3.0/protoc-3.3.0-linux-x86_64.zip -O /tmp/protoc-3.3.0-linux-x86_64.zip
|
- wget https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip -O /tmp/protoc-3.5.0-linux-x86_64.zip
|
||||||
- sudo unzip -o -d /usr/local /tmp/protoc-3.3.0-linux-x86_64.zip
|
- sudo unzip -o -d /usr/local /tmp/protoc-3.5.0-linux-x86_64.zip
|
||||||
|
- sudo chmod +x /usr/local/bin/protoc
|
||||||
|
- sudo chmod og+rx /usr/local/include/google /usr/local/include/google/protobuf /usr/local/include/google/protobuf/compiler
|
||||||
|
- sudo chmod -R og+r /usr/local/include/google/protobuf/
|
||||||
|
- protoc --version
|
||||||
- go get -u github.com/vbatts/git-validation
|
- go get -u github.com/vbatts/git-validation
|
||||||
- sudo wget https://github.com/crosbymichael/runc/releases/download/ctd-7/runc -O /bin/runc; sudo chmod +x /bin/runc
|
- sudo wget https://github.com/crosbymichael/runc/releases/download/ctd-7/runc -O /bin/runc; sudo chmod +x /bin/runc
|
||||||
- wget https://github.com/xemul/criu/archive/v3.0.tar.gz -O /tmp/criu.tar.gz
|
- wget https://github.com/xemul/criu/archive/v3.0.tar.gz -O /tmp/criu.tar.gz
|
||||||
|
@ -161,8 +161,8 @@ To build the daemon and `ctr` simple test client, the following build system dep
|
|||||||
For proper results, install the `protoc` release into `/usr/local` on your build system. For example, the following commands will download and install the 3.1.0 release for a 64-bit Linux host:
|
For proper results, install the `protoc` release into `/usr/local` on your build system. For example, the following commands will download and install the 3.1.0 release for a 64-bit Linux host:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ wget -c https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip
|
$ wget -c https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip
|
||||||
$ sudo unzip protoc-3.1.0-linux-x86_64.zip -d /usr/local
|
$ sudo unzip protoc-3.5.0-linux-x86_64.zip -d /usr/local
|
||||||
```
|
```
|
||||||
|
|
||||||
With the required dependencies installed, the `Makefile` target named **binaries** will compile the `ctr` and `containerd` binaries and place them in the `bin/` directory. Using `sudo make install` will place the binaries in `/usr/local/bin`. When making any changes to the gRPC API, `make generate` will use the installed `protoc` compiler to regenerate the API generated code packages.
|
With the required dependencies installed, the `Makefile` target named **binaries** will compile the `ctr` and `containerd` binaries and place them in the `bin/` directory. Using `sudo make install` will place the binaries in `/usr/local/bin`. When making any changes to the gRPC API, `make generate` will use the installed `protoc` compiler to regenerate the API generated code packages.
|
||||||
|
Loading…
Reference in New Issue
Block a user