Add support for Linux aarch64 builds
This commit is contained in:
parent
cfd9fde44f
commit
f29d3b5662
35 changed files with 1133 additions and 7 deletions
|
@ -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[@]}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue