We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f49230 commit 78289a5Copy full SHA for 78289a5
1 file changed
setup.py
@@ -205,9 +205,14 @@ def build_cmake(self, extension):
205
if not '-G' in str(cmake_args):
206
cmake_args.append('-A')
207
cmake_args.append('win32')
208
+
209
if is_osx:
- cmake_args.append('-DCLANG_USE_LIBCPP=ON')
210
- cmake_args.append('-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9')
+ #cmake_args.append('-DCLANG_USE_LIBCPP=ON')
211
+ #cmake_args.append('-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9')
212
+ if 'arm64' in suffix:
213
+ cmake_args.append('-DCMAKE_OSX_ARCHITECTURES=arm64')
214
+ else:
215
+ cmake_args.append('-DCMAKE_OSX_ARCHITECTURES=x86_64')
216
217
# example of build args
218
build_args = [
0 commit comments