Skip to content

Commit

Permalink
chore: bump arm64 GCC to 9.4
Browse files Browse the repository at this point in the history
Bump the arm64 cross compile image to `edge`.
  • Loading branch information
TheDevMinerTV committed Aug 16, 2024
1 parent 83be26a commit 811e313
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
**Internal**:

- Bumped `sentry-native` submodule to v0.7.8. ([#3940](https://github.com/getsentry/relay/pull/3940))
- Bumped arm64 cross compile image to `edge` tag. ([#3943](https://github.com/getsentry/relay/pull/3943))

## 24.8.0

Expand Down
13 changes: 10 additions & 3 deletions Cross.toml
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"]

0 comments on commit 811e313

Please sign in to comment.