File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,27 +106,8 @@ jobs:
106106 path : ./wheelhouse/*.whl
107107
108108 build_wheels_riscv64 :
109- name : Build riscv64 wheels (${{ matrix.shard.name }})
109+ name : Build riscv64 wheel
110110 runs-on : ubuntu-latest
111- strategy :
112- fail-fast : false
113- matrix :
114- shard :
115- - name : cp310
116- build : " cp310-*"
117- artifact : wheels_riscv64_cp310
118- - name : cp311
119- build : " cp311-*"
120- artifact : wheels_riscv64_cp311
121- - name : cp312
122- build : " cp312-*"
123- artifact : wheels_riscv64_cp312
124- - name : cp313
125- build : " cp313-*"
126- artifact : wheels_riscv64_cp313
127- - name : cp314
128- build : " cp314-*"
129- artifact : wheels_riscv64_cp314
130111 steps :
131112 - uses : actions/checkout@v6
132113 with :
@@ -146,16 +127,16 @@ jobs:
146127 # Build riscv64 wheels against a conservative baseline instead of
147128 # enabling RVV-related extensions from the build container.
148129 CIBW_ENVIRONMENT : CMAKE_ARGS="-DGGML_NATIVE=off -DGGML_RVV=off -DGGML_RV_ZFH=off -DGGML_RV_ZVFH=off -DGGML_RV_ZICBOP=off -DGGML_RV_ZIHINTPAUSE=off"
149- # Split the emulated riscv64 build into one Python version per job
150- # to minimize wall-clock time without changing the release artifacts.
151- CIBW_BUILD : ${{ matrix.shard.build }}
130+ # The release wheel is tagged py3-none, so one riscv64 build is
131+ # enough and avoids duplicate same-name release artifacts.
132+ CIBW_BUILD : " cp310-* "
152133 with :
153134 output-dir : wheelhouse
154135
155136 - name : Upload wheels as artifacts
156137 uses : actions/upload-artifact@v7
157138 with :
158- name : ${{ matrix.shard.artifact }}
139+ name : wheels_riscv64
159140 path : ./wheelhouse/*.whl
160141
161142 build_sdist :
You can’t perform that action at this time.
0 commit comments