Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit f9984ca

Browse files
committed
fix cibuildwheel for non-Linux distros
1 parent 8002d14 commit f9984ca

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### What this is
44

5-
sqlglot, in C++. 45 dialects, 126× faster on benchmark SQL, 252× on the kind your ORM generates when nobody's looking. Performance gap scales with query complexity, see [Benchmarks](#benchmarks).
5+
sqlglot, in C++. 45 dialects, 126× faster on benchmark SQL, 252× on the kind your ORM generates when nobody's looking. Performance gap scales with query complexity, see [Benchmarks](#benchmarks).
66

77
Supports stored procedures (PL/pgSQL, T-SQL, MySQL, PL/SQL): where sqlglot falls back to passthrough, libsqlglot parses them into the AST.
88

@@ -235,7 +235,7 @@ This enables CPU-specific instructions (AVX2, AVX-512, etc.) for your exact proc
235235
**Benchmarking**: Comprehensive benchmark suite with 40+ microbenchmarks. Build with `-DLIBSQLGLOT_BUILD_BENCHMARKS=ON`.
236236

237237
Recent benchmark results (Release build, x86-64, 12-core):
238-
- Tokenization: 245-950ns (186-514 MB/s throughput)
238+
- Tokenisation: 245-950ns (186-514 MB/s throughput)
239239
- Parsing: 1.5-2.7μs (simple SELECT to multi-join queries)
240240
- Generation: 279-554ns
241241
- Full transpilation: 1.7-5.9μs (simple to complex queries)

‎pyproject.toml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,14 @@ metadata.version.regex = "project\\(libsqlglot VERSION (?P<value>[0-9.]+)"
4646
build-type = "Release"
4747

4848
[tool.cibuildwheel]
49-
# Use manylinux_2_28 (based on glibc 2.28, supports Ubuntu 24.04)
5049
manylinux-x86_64-image = "manylinux_2_28"
50+
musllinux-x86_64-image = "musllinux_1_2"
51+
52+
build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
53+
skip = ["*-win32", "*-manylinux_i686", "*-musllinux_i686"]
54+
55+
[tool.cibuildwheel.windows]
56+
before-build = "pip install nanobind"
57+
58+
[tool.cibuildwheel.macos]
59+
archs = ["x86_64", "arm64"]

0 commit comments

Comments
 (0)