-
Notifications
You must be signed in to change notification settings - Fork 45
/
Cross.toml
56 lines (44 loc) · 1.65 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
50
51
52
53
54
[build]
# zig = true
[target.aarch64-unknown-linux-gnu]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update",
"apt-get install --assume-yes libfontconfig-dev:arm64",
]
[target.armv7-unknown-linux-gnueabihf]
pre-build = [
"dpkg --add-architecture armhf",
"apt-get update",
"apt-get install --assume-yes libfontconfig-dev:armhf libglib2.0-dev:armhf",
]
[target.armv7-unknown-linux-gnueabi]
pre-build = [
"dpkg --add-architecture armhf",
"apt-get update",
"apt-get install --assume-yes libfontconfig-dev:armhf",
]
[target.armv7-unknown-linux-musleabihf]
pre-build = [
"export DEBIAN_FRONTEND=noninteractive",
"dpkg --add-architecture armhf",
# "dpkg --add-architecture arm64",
"apt-get update",
# "apt-get install -yq libssl-dev:arm64 libfontconfig-dev:arm64 libfontconfig1:arm64 libfontconfig1-dev:arm64",
"apt-get install -yq libfontconfig-dev:armhf libfontconfig1:armhf libfontconfig1-dev:armhf libglib2.0-dev:armhf",
# "apt-get install -yq pkg-config libfontconfig-dev libfontconfig1 libfontconfig1-dev",
]
# "apt-get update",
# "apt-get install --assume-yes:armhf libfontconfig-dev:armhf fontconfig:armhf librust-servo-fontconfig-dev:armhf librust-servo-fontconfig-sys-dev:armhf librust-yeslogic-fontconfig-sys-dev:armhf librust-crossfont+force-system-fontconfig-dev:armhf",
[target.armv7-unknown-linux-musleabi]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update",
"apt-get install --assume-yes libfontconfig-dev:arm64 libglib2.0-dev:arm64",
]
[target.aarch64-unknown-linux-musl]
pre-build = [
"dpkg --add-architecture arm64",
"apt-get update",
"apt-get install --assume-yes libfontconfig-dev:arm64",
]