Add parallel execution support

This commit is contained in:
Johannes Schönberger
2012-08-31 23:46:23 +02:00
parent b2036aee5c
commit b2e4fd6f32
4 changed files with 29 additions and 23 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ def configuration(parent_package='', top_path=None):
include_dirs=[get_numpy_include_dirs()])
config.add_extension('_warps_cy', sources=['_warps_cy.c'],
include_dirs=[get_numpy_include_dirs(), '../_shared'])
include_dirs=[get_numpy_include_dirs(), '../_shared'],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'])
return config