-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCross.toml
More file actions
23 lines (22 loc) · 805 Bytes
/
Cross.toml
File metadata and controls
23 lines (22 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH",
]
env.passthrough = [
"OPENSSL_LIB_DIR=/usr/lib/aarch64-linux-gnu",
"OPENSSL_INCLUDE_DIR=/usr/include/aarch64-linux-gnu/openssl",
"OPENSSL_STATIC=yes"
]
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",
]
env.passthrough = [
"OPENSSL_LIB_DIR=/usr/lib/riscv64-linux-gnu",
"OPENSSL_INCLUDE_DIR=/usr/include/riscv64-linux-gnu/openssl",
"OPENSSL_STATIC=yes"
]
image = "ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:edge"