Commit 6f48105 1 parent 2e6496b commit 6f48105 Copy full SHA for 6f48105
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 21
21
with :
22
22
python-version : ' 3.10'
23
23
- name : Install cibuildwheel
24
- run : python -m pip install cibuildwheel==2.15.0
24
+ run : python -m pip install cibuildwheel==2.19.1
25
25
- name : Build wheels
26
26
run : python -m cibuildwheel --output-dir dist
27
27
env :
Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ class BuildExt(build_ext):
90
90
91
91
if sys .platform == "darwin" :
92
92
if platform .machine () == "arm64" :
93
- c_opts ["unix" ].remove ("-march=native" )
93
+ if "-march=native" in c_opts ["unix" ]:
94
+ c_opts ["unix" ].remove ("-march=native" )
94
95
c_opts ["unix" ] += ["-stdlib=libc++" , "-mmacosx-version-min=10.7" ]
95
96
link_opts ["unix" ] += ["-stdlib=libc++" , "-mmacosx-version-min=10.7" ]
96
97
else :
You can’t perform that action at this time.
0 commit comments