Skip to content

Commit 8c89642

Browse files
committed
Build: Be a little more conservative in CPU requirements by avoiding AVX and requiring SSE4.2 only on AMD64.
1 parent 9211292 commit 8c89642

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ RANLIB = "gcc-ranlib"
1919
[[tool.cibuildwheel.overrides]]
2020
select = "*linux_i686"
2121
inherit.environment = "append"
22-
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=sandybridge -mtune=generic"
22+
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -mtune=generic"
2323

2424
[[tool.cibuildwheel.overrides]]
2525
select = "*linux_x86_64"
2626
inherit.environment = "append"
27-
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=sandybridge -mtune=generic"
27+
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -msse4.1 -msse4.2 -mtune=generic"
2828

2929
[[tool.cibuildwheel.overrides]]
3030
select = "*aarch64"

0 commit comments

Comments
 (0)