-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCross.toml
49 lines (44 loc) · 1.3 KB
/
Cross.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[build]
default-target = "x86_64-unknown-linux-gnu"
dockerfile = "./docker/Dockerfile"
#pre-build = [
# "dpkg --add-architecture $CROSS_DEB_ARCH",
# "apt-get update && apt-get --assume-yes install libssl-dev:$CROSS_DEB_ARCH",
#]
[target.x86_64-unknown-linux-gnu]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main"
pre-build = ["""
dpkg --add-architecture amd64 && \
apt-get update && \
apt-get install --assume-yes lld clang
"""]
[target.x86_64-unknown-linux-musl]
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:main"
pre-build = ["""
dpkg --add-architecture amd64 && \
apt-get update && \
apt-get install --assume-yes lld clang
"""]
[target.aarch64-unknown-linux-musl]
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:main"
pre-build = ["""
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get install --assume-yes lld clang
"""]
#[target.armv7-unknown-linux-musleabihf]
#image = "ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:main"
#pre-build = [
# """
# apt-get update && \
# apt-get install --assume-yes lld clang
# """
#]
#[target.arm-unknown-linux-musleabihf]
#image = "ghcr.io/cross-rs/arm-unknown-linux-musleabihf:main"
#pre-build = [
# """
# apt-get update && \
# apt-get install --assume-yes lld clang
# """
#]