Commit 7920ecf 1 parent 28e1b70 commit 7920ecf Copy full SHA for 7920ecf
File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 52
52
args : ${{ inputs.args }}
53
53
before-script-linux : |
54
54
set -e
55
- apt install -y unzip
56
- if [ $(uname -m) = "x86_64" ]; then
57
- PROTOC_ARCH="x86_64"
58
- else
59
- PROTOC_ARCH="aarch_64"
60
- fi
61
- curl -L https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protoc-24.4-linux-$PROTOC_ARCH.zip > /tmp/protoc.zip \
55
+ yum install -y openssl-devel clang \
56
+ && curl -L https://github.com/protocolbuffers/protobuf/releases/download/v24.4/protoc-24.4-linux-aarch_64.zip > /tmp/protoc.zip \
62
57
&& unzip /tmp/protoc.zip -d /usr/local \
63
58
&& rm /tmp/protoc.zip
Original file line number Diff line number Diff line change @@ -15,15 +15,21 @@ jobs:
15
15
- platform : x86_64
16
16
manylinux : " 2_17"
17
17
extra_args : " "
18
+ runner : ubuntu-22.04
18
19
- platform : x86_64
19
20
manylinux : " 2_28"
20
21
extra_args : " --features fp16kernels"
22
+ runner : ubuntu-22.04
21
23
- platform : aarch64
22
- manylinux : " 2_24 "
24
+ manylinux : " 2_17 "
23
25
extra_args : " "
24
- # We don't build fp16 kernels for aarch64, because it uses
25
- # cross compilation image, which doesn't have a new enough compiler.
26
- runs-on : " ubuntu-22.04"
26
+ # For successful fat LTO builds, we need a large runner to avoid OOM errors.
27
+ runner : ubuntu-2404-8x-arm64
28
+ - platform : aarch64
29
+ manylinux : " 2_28"
30
+ extra_args : " --features fp16kernels"
31
+ runner : ubuntu-2404-8x-arm64
32
+ runs-on : ${{ matrix.config.runner }}
27
33
steps :
28
34
- uses : actions/checkout@v4
29
35
with :
You can’t perform that action at this time.
0 commit comments