forked from xiph/rav1e
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devcontainer: Cross-build extra cargo tools for arm64
- Loading branch information
Showing
4 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
apt-get update | ||
apt-get install -y libcurl4-openssl-dev:arm64 libssl-dev:arm64 zlib1g-dev:arm64 | ||
export PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig | ||
export CARGO_PROFILE_RELEASE_STRIP=true | ||
export CARGO_BUILD_TARGET=aarch64-unknown-linux-gnu | ||
cargo install cargo-c --version "0.9.27+cargo-0.74.0" | ||
cargo install cargo-criterion --version "1.1.0" | ||
cargo install cargo-fuzz --version "0.11.2" | ||
tar cf cargo-extra.tar /usr/local/cargo/.crates.toml \ | ||
/usr/local/cargo/bin/{cargo-capi,cargo-cbuild,cargo-cinstall,cargo-ctest,cargo-criterion,cargo-fuzz} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ target/ | |
*.png | ||
*.bin | ||
secret_key | ||
/.devcontainer/cargo-extra.tar |