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 77cfe4b commit 847995dCopy full SHA for 847995d
setup.py
@@ -24,6 +24,7 @@
24
suffices = ['cpu']
25
26
BUILD_DOCS = os.getenv('BUILD_DOCS', '0') == '1'
27
+WITH_SYMBOLS = os.getenv('WITH_SYMBOLS', '0') == '1'
28
29
30
def get_extensions():
@@ -37,7 +38,7 @@ def get_extensions():
37
38
extra_compile_args = {'cxx': ['-O2']}
39
if not os.name == 'nt': # Not on Windows:
40
extra_compile_args['cxx'] += ['-Wno-sign-compare']
- extra_link_args = ['-s']
41
+ extra_link_args = [] if WITH_SYMBOLS else ['-s']
42
43
info = parallel_info()
44
if ('backend: OpenMP' in info and 'OpenMP not found' not in info
0 commit comments