ci: AArch64: Add a build stage for musl toolchain

This commit adds required environment configurations to the
`dev_cli.sh` and a Jenkins stage to enable AArch64 binary
building using musl toolchain.

Signed-off-by: Henry Wang <Henry.Wang@arm.com>
This commit is contained in:
Henry Wang 2020-07-10 11:47:30 +08:00 committed by Sebastien Boeuf
parent e81402e76e
commit 5a2ff98917
2 changed files with 6 additions and 1 deletions

View file

@ -208,7 +208,7 @@ cmd_build() {
rustflags=""
if [ $(uname -m) = "aarch64" ] && [ $libc = "musl" ] ; then
rustflags="-C link-arg=-lgcc"
rustflags="-C link-arg=-lgcc -C link_arg=-specs -C link_arg=/usr/lib/aarch64-linux-musl/musl-gcc.specs"
fi
# A workaround on Arm64 to avoid build errors in kvm-bindings