Created
June 27, 2021 21:48
-
-
Save 1480c1/b15c1f6c13d1d4ee8eb16ea99f3caf15 to your computer and use it in GitHub Desktop.
cargo-c+rav1e stuff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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