Skip to content

Commit dc6eeb1

Browse files
committed
try again
1 parent 45fb5c1 commit dc6eeb1

File tree

1 file changed

+27
-16
lines changed

1 file changed

+27
-16
lines changed

Cross.toml

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,34 @@
11
[target.x86_64-unknown-linux-gnu]
2-
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
3-
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
4-
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
5-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
2+
pre-build = [
3+
"dpkg --add-architecture $CROSS_DEB_ARCH",
4+
"apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
5+
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
6+
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
7+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
8+
]
69

710
[target.armv7-unknown-linux-gnueabihf]
8-
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
9-
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
10-
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
11-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
11+
pre-build = [
12+
"dpkg --add-architecture $CROSS_DEB_ARCH",
13+
"apt-get update && apt-get install --assume-yes unzip libssl-dev:$CROSS_DEB_ARCH",
14+
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
15+
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
16+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
17+
]
1218

1319
[target.aarch64-unknown-linux-gnu]
14-
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev libssl-dev:$CROSS_DEB_ARCH",
15-
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
16-
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
17-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
20+
pre-build = [
21+
"dpkg --add-architecture $CROSS_DEB_ARCH",
22+
"apt-get update && apt-get install --assume-yes unzip libssl-dev libssl-dev:$CROSS_DEB_ARCH",
23+
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
24+
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
25+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
26+
]
1827

1928
[target.x86_64-unknown-freebsd]
20-
pre-build = ["apt-get update && apt-get install --assume-yes unzip libssl-dev",
21-
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
22-
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
23-
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"]
29+
pre-build = [
30+
"apt-get update && apt-get install --assume-yes unzip libssl-dev",
31+
"PB_REL='https://github.com/protocolbuffers/protobuf/releases'",
32+
"PB_VERSION='3.20.0' && curl -LO $PB_REL/download/v$PB_VERSION/protoc-$PB_VERSION-linux-x86_64.zip",
33+
"unzip protoc-$PB_VERSION-linux-x86_64.zip bin/protoc include/google/* -d /usr"
34+
]

0 commit comments

Comments
 (0)