Skip to content

Commit

Permalink
Build: Be a little more conservative in CPU requirements by avoiding …
Browse files Browse the repository at this point in the history
…AVX and requiring SSE4.2 only on AMD64.
  • Loading branch information
scoder committed Apr 3, 2024
1 parent 9211292 commit 8c89642
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ RANLIB = "gcc-ranlib"
[[tool.cibuildwheel.overrides]]
select = "*linux_i686"
inherit.environment = "append"
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=sandybridge -mtune=generic"
environment.CFLAGS = "-O3 -g1 -pipe -fPIC -march=core2 -mtune=generic"

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

[[tool.cibuildwheel.overrides]]
select = "*aarch64"
Expand Down

0 comments on commit 8c89642

Please sign in to comment.