-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Installs cross from source * Adds req deps to cross.toml and cargo.toml
- Loading branch information
1 parent
fbff511
commit 5c3d504
Showing
3 changed files
with
16 additions
and
4 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
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
# Cross.toml | ||
|
||
[build] | ||
[target.x86_64-unknown-linux-gnu] | ||
pre-build = [ | ||
"apt-get update && apt-get install --assume-yes apt-utils --no-install-recommends pkg-config libssl-dev libsasl2-dev llvm-dev libclang-6.0-dev clang-6.0" | ||
] | ||
"export DEBIAN_FRONTEND=noninteractive", | ||
"export TZ=Etc/UTC", | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt update -q", | ||
"apt upgrade -yq", | ||
"add-apt-repository -y ppa:savoury1/virtualisation", | ||
"apt-get upgrade -yq", | ||
"apt update -q && apt install --assume-yes --no-install-recommends libclang-10-dev clang-10 cmake build-essential pkg-config libssl-dev:$CROSS_DEB_ARCH libsasl2-dev llvm-dev curl gnutls-bin" | ||
] |