Add linux compatibility to stage scripts

This commit is contained in:
BtbN 2021-05-13 02:17:17 +02:00
parent d0f6bd727f
commit 3d21025056
39 changed files with 118 additions and 44 deletions

View file

@ -12,12 +12,20 @@ ffbuild_dockerbuild() {
git-mini-clone "$RAV1E_REPO" "$RAV1E_COMMIT" rav1e
cd rav1e
cargo cinstall \
--target="$FFBUILD_RUST_TARGET" \
local myconf=(
--prefix="$FFBUILD_PREFIX" \
--library-type=staticlib \
--crt-static \
--release
)
if [[ -n "$FFBUILD_RUST_TARGET" ]]; then
myconf+=(
--target="$FFBUILD_RUST_TARGET"
)
fi
cargo cinstall "${myconf[@]}"
}
ffbuild_configure() {