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 3b7598e commit 2a73371Copy full SHA for 2a73371
setup.py
@@ -67,6 +67,8 @@ def get_extensions():
67
extra_compile_args = {'cxx': ['-O3']}
68
if not os.name == 'nt': # Not on Windows:
69
extra_compile_args['cxx'] += ['-Wno-sign-compare']
70
+ if sys.platform == 'darwin': # On macOS:
71
+ extra_compile_args['cxx'] += ['-D_LIBCPP_DISABLE_AVAILABILITY']
72
extra_link_args = [] if WITH_SYMBOLS else ['-s']
73
74
info = parallel_info()
0 commit comments