From dfe364f8853bd04d6d8554f01dd64de18c524b64 Mon Sep 17 00:00:00 2001 From: Jing Wang Date: Mon, 2 Nov 2020 17:49:08 +0000 Subject: [PATCH] Agent: README updates for build on ppc64le README updates for agent build on ppc64le Fixes: #1069 Signed-off-by: Jing Wang --- src/agent/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agent/README.md b/src/agent/README.md index 1b50d35f74..0e8b2d4d9a 100644 --- a/src/agent/README.md +++ b/src/agent/README.md @@ -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++ ```