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 1ce4848 commit 3c38a7cCopy full SHA for 3c38a7c
setup.py
@@ -21,9 +21,10 @@ def get_include(): #TODO
21
# Path to eigen3 headers
22
get_include(),
23
],
24
- extra_compile_args=['-fopenmp'],
25
- language='c++'
26
- ),
+ language='c++',
+ extra_compile_args=["-fopenmp"],
+ extra_link_args=["-fopenmp"]
27
+ )
28
]
29
30
@@ -70,7 +71,7 @@ def build_extensions(self):
70
71
ct = self.compiler.compiler_type
72
opts = self.c_opts.get(ct, [])
73
if ct == 'unix':
- opts.append('-DVERSION_INFO="%s" -fopenmp' % self.distribution.get_version())
74
+ opts.append('-DVERSION_INFO="%s" ' % self.distribution.get_version())
75
opts.append(cpp_flag(self.compiler))
76
if has_flag(self.compiler, '-fvisibility=hidden'):
77
opts.append('-fvisibility=hidden')
0 commit comments