Skip to content

Instantly share code, notes, and snippets.

@1480c1
Created Jun 27, 2021
Embed
What would you like to do?
cargo-c+rav1e stuff
#!/usr/bin/bash
pacman -Syu --noconfirm
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-rust
git clone https://github.com/lu-zero/cargo-c.git
git -C cargo-c pull origin master
cargo install --target x86_64-pc-windows-gnu --jobs="$(nproc)" --path=cargo-c
git clone https://github.com/xiph/rav1e.git
git -C rav1e pull origin master
cd rav1e
cargo capi install --release --jobs "$(nproc)" --prefix /local --destdir "$PWD/install"
find install -name "rav1e.pc" -exec cat {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment