forked from grandinetech/grandine
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCross.toml
More file actions
15 lines (14 loc) · 705 Bytes
/
Cross.toml
File metadata and controls
15 lines (14 loc) · 705 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[target.x86_64-unknown-linux-gnu]
image = 'ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main'
pre-build = [
'dpkg --add-architecture $CROSS_DEB_ARCH',
'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --assume-yes install clang cmake unzip protobuf-compiler libprotobuf-dev libz-dev',
'ln -sf /usr/bin/clang /usr/bin/cc',
]
[target.aarch64-unknown-linux-gnu]
image = 'ghcr.io/cross-rs/aarch64-unknown-linux-gnu:main'
pre-build = [
'dpkg --add-architecture $CROSS_DEB_ARCH',
'apt-get update && DEBIAN_FRONTEND=noninteractive apt-get --assume-yes install clang cmake unzip protobuf-compiler libprotobuf-dev:$CROSS_DEB_ARCH libz-dev:$CROSS_DEB_ARCH',
'ln -sf /usr/bin/clang /usr/bin/cc',
]