Skip to content

Commit f360aca

Browse files
committed
fix(ci): document and pin release wheel baselines
1 parent 80dd7d1 commit f360aca

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/build-and-release.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,12 @@ jobs:
4646
env:
4747
# disable repair
4848
CIBW_REPAIR_WHEEL_COMMAND: ""
49-
# The default Linux x86_64 matrix also includes i686, which is not a
50-
# useful target for this project and currently fails in ggml's native path.
49+
# Skip cibuildwheel's default i686 sidecar and keep Linux release
50+
# wheels on a portable x86_64 CPU baseline.
5151
CIBW_ARCHS_LINUX: "auto64"
52-
# Release wheels should target portable baselines, not the CI host CPU.
52+
CIBW_ENVIRONMENT_LINUX: CMAKE_ARGS="-DGGML_NATIVE=off"
53+
# Keep macOS release wheels on a portable CPU baseline instead of
54+
# inheriting the hosted runner's native flags.
5355
CIBW_ENVIRONMENT_MACOS: CMAKE_ARGS="-DGGML_NATIVE=off"
5456
with:
5557
package-dir: .
@@ -106,7 +108,7 @@ jobs:
106108
- name: Build wheels
107109
uses: pypa/cibuildwheel@v3.1.2
108110
env:
109-
CIBW_SKIP: "*musllinux*"
111+
CIBW_SKIP: "*musllinux* pp*"
110112
CIBW_REPAIR_WHEEL_COMMAND: ""
111113
CIBW_ARCHS: "riscv64"
112114
# Build riscv64 wheels against a conservative baseline instead of

0 commit comments

Comments
 (0)