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 ee2f764 commit 120a3ae
Show file tree
Hide file tree
Showing 3 changed files with 21 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
12 changes: 9 additions & 3 deletions Cross.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
[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",
]

[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"]
11 changes: 11 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[toolchain]
channel = "1.80.1"
profile = "default"
components = [
"rustc",
"cargo",
"clippy",
"rustfmt",
"rust-analyzer",
"rust-src",
]

0 comments on commit 120a3ae

Please sign in to comment.