Commit 011852a9 authored by Artem Pulkin's avatar Artem Pulkin

cython: add openmp compile args

parent 2108f67d
Pipeline #44301 passed with stage
in 5 minutes and 3 seconds
......@@ -113,7 +113,8 @@ class ext_modules_lazy(list):
def eval(self):
self.ext_modules = cythonize([
Extension("miniff._potentials", ["miniff/_potentials.pyx"], include_dirs=[numpy.get_include()]),
Extension("miniff._potentials", ["miniff/_potentials.pyx"], include_dirs=[numpy.get_include()],
extra_compile_args=['-fopenmp'], extra_link_args=['-fopenmp']),
Extension("miniff._util", ["miniff/_util.pyx"], include_dirs=[numpy.get_include()]),
], compiler_directives={"profile": True}, annotate=True)
......
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