Commit 79f5cf26 authored by rusty1s's avatar rusty1s
Browse files

print info

parent c2fc5a86
...@@ -24,6 +24,7 @@ def get_extensions(): ...@@ -24,6 +24,7 @@ def get_extensions():
extra_link_args = [] extra_link_args = []
info = parallel_info() info = parallel_info()
print(info)
if 'parallel backend: OpenMP' in info and 'OpenMP not found' not in info: if 'parallel backend: OpenMP' in info and 'OpenMP not found' not in info:
extra_compile_args['cxx'] += ['-DAT_PARALLEL_OPENMP', '-fopenmp'] extra_compile_args['cxx'] += ['-DAT_PARALLEL_OPENMP', '-fopenmp']
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment