Add support for Linux aarch64 builds

This commit is contained in:
tsukumi 2022-05-10 07:15:31 +09:00 committed by BtbN
parent cfd9fde44f
commit f29d3b5662
35 changed files with 1133 additions and 7 deletions

View file

@ -25,6 +25,12 @@ ffbuild_dockerbuild() {
)
fi
# For some reason, RUSTFLAGS, CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER,
# and .cargo/config.toml can't work, so have to put a symbolic link
if [[ $TARGET == linuxarm64 ]]; then
ln -s /opt/ct-ng/bin/aarch64-ffbuild-linux-gnu-gcc /opt/ct-ng/bin/aarch64-linux-gnu-gcc
fi
cargo cinstall "${myconf[@]}"
}