Skip to content

Commit

Permalink
Make: Drop s390x and ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Nov 26, 2024
1 parent 6effbea commit fcd5991
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ cibuildwheel --platform linux # works on any OS and builds all
cibuildwheel --platform linux --archs x86_64 # 64-bit x86, the most common on desktop and servers
cibuildwheel --platform linux --archs aarch64 # 64-bit Arm for mobile devices, Apple M-series, and AWS Graviton
cibuildwheel --platform linux --archs i686 # 32-bit Linux
cibuildwheel --platform linux --archs s390x # emulating big-endian IBM Z
cibuildwheel --platform macos # works only on MacOS
cibuildwheel --platform windows # works only on Windows
```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The rare few that support minimal mixed precision, run only on one platform, and
SimSIMD provides an alternative.
1️⃣ SimSIMD functions are practically as fast as `memcpy`.
2️⃣ Unlike BLAS, most kernels are designed for mixed-precision and bit-level operations.
3️⃣ SimSIMD [compiles to more platforms than NumPy (105 vs 35)][compatibility] and has more backends than most BLAS implementations, and more high-level interfaces than most libraries.
3️⃣ SimSIMD often [ships more binaries than NumPy][compatibility] and has more backends than most BLAS implementations, and more high-level interfaces than most libraries.

[benchmarks]: https://ashvardanian.com/posts/simsimd-faster-scipy
[compatibility]: https://pypi.org/project/simsimd/#files
Expand Down
23 changes: 15 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This file configures wheels compilation for `cibuilwheel` for SimSIMD CPython bindings.
# On a good day it will produce:
# - `manylinux` and `musllinux` wheels for Linux on x86_64, aarch64, i686, ppc64le, s390x;
# - `manylinux` and `musllinux` wheels for Linux on x86_64, aarch64, i686;
# - `macos` wheels for x86_64, arm64, and universal2;
# - `windows` wheels for AMD64, x86, and ARM64.
# * for 7 Python versions from 3.7 to 3.13.
# * running thousands of fuzzy tests on each wheel.
# = meaning 16 platforms * 7 Python versions = 96 builds.
# = meaning 12 platforms * 7 Python versions = 84 builds.
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
Expand All @@ -31,15 +31,24 @@ test-command = """
"""

# We need to build for all platforms:
# - on Linux: x86_64, aarch64, i686, ppc64le, s390x
# - on Linux: x86_64, aarch64, i686
# - on MacOS: x86_64, arm64, universal2
# - on Windows: AMD64, x86, ARM64
# https://cibuildwheel.readthedocs.io/en/stable/options/#archs
#
# Important to note, not all those paltforms have recent images.
# The `manylinux_2_28` seems to be missing for `s390x`, `i686`, and `ppc64le`.
# Important to note, not all those platforms have recent images.
# The `manylinux_2_28` seems to be missing for `i686`.
# The `i686` is 32-bit x86, and `x86_64` is 64-bit x86.
archs = ["all"]
archs = [
"x86_64",
"aarch64",
"i686",
"arm64",
"universal2",
"AMD64",
"x86",
"ARM64",
]

# Add "pp*" to skip PyPy builds, but they should work fine these days :)
# https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
Expand All @@ -63,10 +72,8 @@ repair-wheel-command = "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}"
# - for `musllinux`: https://quay.io/search?q=musllinux
manylinux-x86_64-image = "manylinux_2_28"
manylinux-aarch64-image = "manylinux_2_28"
manylinux-s390x-image = "manylinux_2_28"
musllinux-x86_64-image = "musllinux_1_2"
musllinux-aarch64-image = "musllinux_1_2"
musllinux-s390x-image = "musllinux_1_2"

# On CentOS we have to use `yum`.
# The healthy version would be: `apt-get update && apt-get install -y libc6-dev wget python3-dev`.
Expand Down

0 comments on commit fcd5991

Please sign in to comment.