Skip to content

Commit d2bcbac

Browse files
authored
fix(ci): Scope CPU release wheel selectors by OS (#2194)
1 parent 195cc59 commit d2bcbac

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ jobs:
5151
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "LD_LIBRARY_PATH=/project/llama_cpp/lib auditwheel repair -w {dest_dir} {wheel}"
5252
# The release wheel is tagged py3-none, so one build per platform
5353
# covers all supported Python versions and avoids duplicate names.
54-
CIBW_BUILD: "cp38-*"
54+
CIBW_BUILD_LINUX: "cp38-*"
55+
CIBW_BUILD_MACOS: "cp39-*"
56+
CIBW_BUILD_WINDOWS: "cp39-*"
5557
# Skip cibuildwheel's default i686 sidecar and keep Linux release
5658
# wheels on a portable x86_64 CPU baseline.
5759
CIBW_ARCHS_LINUX: "auto64"
60+
CIBW_ARCHS_WINDOWS: "AMD64"
5861
CIBW_ENVIRONMENT_LINUX: CMAKE_ARGS="-DGGML_NATIVE=off"
5962
# Keep macOS release wheels on a portable CPU baseline instead of
6063
# inheriting the hosted runner's native flags.

0 commit comments

Comments
 (0)