File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 18
18
CIBW_TEST_COMMAND : pytest --pyargs numcodecs
19
19
CIBW_TEST_REQUIRES : pytest
20
20
CIBW_SKIP : " pp* cp36-* *-musllinux_* *win32 *_i686 *_s390x"
21
- CIBW_ENVIRONMENT : " DISABLE_NUMCODECS_AVX2=1"
22
- CIBW_ENVIRONMENT_MACOS : ' MACOSX_DEPLOYMENT_TARGET=10.9 DISABLE_NUMCODECS_AVX2=1 CFLAGS="$CFLAGS -Wno-implicit-function-declaration"'
23
-
21
+ CIBW_ARCHS_MACOS : ' x86_64 arm64'
22
+ CIBW_TEST_SKIP : ' *-macosx_arm64'
23
+ # note: CIBW_ENVIRONMENT is now set in pyproject.toml
24
+
24
25
steps :
25
26
- uses : actions/checkout@v3
26
27
with :
Original file line number Diff line number Diff line change @@ -108,3 +108,11 @@ norecursedirs = [
108
108
" notebooks" ,
109
109
" numcodecs.egg-info" ,
110
110
]
111
+ [tool .cibuildwheel ]
112
+ environment = { DISABLE_NUMCODECS_AVX2 =1 }
113
+ [tool .cibuildwheel .macos ]
114
+ environment = { MACOSX_DEPLOYMENT_TARGET =10.9 , CFLAGS =" $CFLAGS -Wno-implicit-function-declaration" }
115
+ [[tool .cibuildwheel .overrides ]]
116
+ select = " *-macosx_arm64"
117
+ environment = { DISABLE_NUMCODECS_SSE2 =1 }
118
+
You can’t perform that action at this time.
0 commit comments