Skip to content

Commit

Permalink
ensure cibuildwheel.macos also has DISABLE_NUMCODECS_AVX2=1
Browse files Browse the repository at this point in the history
  • Loading branch information
psobolewskiPhD authored Oct 11, 2023
1 parent a5539b5 commit 99e2282
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,9 @@ norecursedirs = [
"numcodecs.egg-info",
]
[tool.cibuildwheel]
environment = { DISABLE_NUMCODECS_AVX2=1 }
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET=10.9, CFLAGS="$CFLAGS -Wno-implicit-function-declaration" }
[[tool.cibuildwheel.overrides]]
select = "*-macosx_arm64"
environment = { DISABLE_NUMCODECS_SSE2=1 }

environment = { DISABLE_NUMCODECS_AVX2=1 }
[tool.cibuildwheel.macos]
environment = { MACOSX_DEPLOYMENT_TARGET=10.9, DISABLE_NUMCODECS_AVX2=1, CFLAGS="$CFLAGS -Wno-implicit-function-declaration" }
[[tool.cibuildwheel.overrides]]
select = "*-macosx_arm64"
environment = { DISABLE_NUMCODECS_SSE2=1 }

0 comments on commit 99e2282

Please sign in to comment.