Merge pull request #1070 from jing-wang4/readme

Agent: README updates for build on ppc64le
This commit is contained in:
Peng Tao
2020-11-11 10:15:22 +08:00
committed by GitHub

View File

@@ -40,9 +40,11 @@ After that, we drafted the initial code here, and any contributions are welcome.
### Build from Source
The rust-agent needs to be built statically and linked with `musl`
> **Note:** skip this step for ppc64le, the build scripts explicitly use gnu for ppc64le.
```bash
$ arch=$(uname -m)
$ [ "$arch" == "ppc64le" ] && arch=powerpc64le
$ rustup target add "${arch}-unknown-linux-musl"
$ sudo ln -s /usr/bin/g++ /bin/musl-g++
```