|
1 | 1 | [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 | +] |
6 | 9 |
|
7 | 10 | [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 | +] |
12 | 18 |
|
13 | 19 | [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 | +] |
18 | 27 |
|
19 | 28 | [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