mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-08 04:49:52 +00:00
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:
parent
bf57cd844e
commit
dfe364f885
@ -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++
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user