-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump the arm64 cross compile image to `edge`.
- Loading branch information
1 parent
83be26a
commit 811e313
Showing
2 changed files
with
11 additions
and
3 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 |
---|---|---|
@@ -1,12 +1,19 @@ | ||
[build] | ||
pre-build = [ | ||
# Use azure mirrors for faster downloads. | ||
# Use Azure mirrors for faster downloads | ||
"sed -i -e 's/archive.archive.ubuntu.com/azure.archive.ubuntu.com/' /etc/apt/sources.list", | ||
"sed -i -e 's/security.archive.ubuntu.com/azure.archive.ubuntu.com/' /etc/apt/sources.list", | ||
"apt-get update && apt-get --assume-yes install libclang-8-dev clang-8", | ||
|
||
# Enable multiarch and install the necessary dependencies | ||
"dpkg --add-architecture $CROSS_DEB_ARCH", | ||
"apt-get update", | ||
"apt-get -y install libclang-8-dev clang-8 zlib1g-dev:$CROSS_DEB_ARCH", | ||
|
||
"curl -sL https://sentry.io/get-cli/ | sh", | ||
] | ||
env.passthrough = ["CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_musl"] | ||
|
||
[target.aarch64-unknown-linux-gnu] | ||
# We're using a nightly `cross`, let's still use a stable image. | ||
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5" | ||
image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge" | ||
env.passthrough = ["CMAKE_TOOLCHAIN_FILE_aarch64_unknown_linux_gnu"] |