Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Cross.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge"
[target.riscv64gc-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH",
# NOTE: on Noble, dpkg --add-architecture does not do enough to add riscv64
# sources properly, so we do it manually below
'echo -e "Types: deb\nURIs: http://ports.ubuntu.com/ubuntu-ports\nSuites: noble noble-updates noble-security\nComponents: main restricted universe multiverse\nArchitectures: riscv64" >> /etc/apt/sources.list.d/ubuntu.sources',
"apt update && apt --assume-yes install libssl-dev:$CROSS_DEB_ARCH",
]
env.passthrough = [
"OPENSSL_LIB_DIR=/usr/lib/riscv64-linux-gnu",
Expand Down
Loading