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 e67deb3 commit e44b335Copy full SHA for e44b335
download.py
@@ -5,6 +5,7 @@
5
import functools as _ft
6
import hashlib
7
import os
8
+import platform
9
import shutil
10
import subprocess
11
import sys
@@ -51,7 +52,7 @@
51
52
'-std=c99',
53
'-DBSD',
54
'-DHAVE_IEEE_754',
- '-mtune=native', '-pthread', '-fwrapv',
55
+ '-pthread', '-fwrapv',
56
'-fno-strict-aliasing',
57
'-Wall', '-W', '-O3']
58
sizeof_long = ctypes.sizeof(ctypes.c_long)
@@ -90,6 +91,8 @@ def extensions(
90
91
cudd_cflags = list(CUDD_CFLAGS)
92
sylvan_cflags = list()
93
compile_time_env = dict()
94
+ if platform.system() != 'Darwin':
95
+ cudd_cflags.append('-mtune=native')
96
# tell gcc to compile line tracing
97
if args.linetrace:
98
print('compile Cython extensions with line tracing')
0 commit comments