Agent: README updates for build on ppc64le

README updates for agent build on ppc64le

Fixes: #1069

Signed-off-by: Jing Wang <jing.wang4@ibm.com>
This commit is contained in:
Jing Wang 2020-11-02 17:49:08 +00:00
parent bf57cd844e
commit dfe364f885

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 uses glibc 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++
```