Add linux compatibility to stage scripts
This commit is contained in:
parent
d0f6bd727f
commit
3d21025056
39 changed files with 118 additions and 44 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue