Skip to content

Commit 805ac3a

Browse files
authored
update readme (pingcap#856)
Signed-off-by: disksing <[email protected]>
1 parent a2d310d commit 805ac3a

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

+2-17
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,6 @@ The easiest way to compile the protobufs is to use docker.
2626
./scripts/docker-run.sh make go
2727
```
2828

29+
# Build locally
2930

30-
# Multiple `protoc` Versions
31-
32-
If you need to override your version of `protoc` because you have a later version you can install the correct version like so:
33-
34-
```bash
35-
PROTOC_VERSION=3.8.0
36-
case `uname` in
37-
'Darwin') export OS='osx';;
38-
'Linux') export OS='linux';;
39-
esac
40-
curl -L https://github.com/google/protobuf/releases/download/v$PROTOC_VERSION/protoc-$PROTOC_VERSION-$OS-x86_64.zip -o protoc.zip &&\
41-
unzip protoc.zip -d protoc &&\
42-
rm protoc.zip
43-
```
44-
45-
Then you can run `PATH="$(pwd)/protoc/bin:$PATH" make`
46-
31+
There are many dependencies to be installed, please refer to the relevant scripts in [workflow](.github/workflows) to set them up.

0 commit comments

Comments
 (0)