Commit 87339039 authored by Stefan Behnel's avatar Stefan Behnel

avoid useless overhead if we don't find anything to do

parent ff873413
......@@ -95,7 +95,7 @@ def cython_compile(path_pattern, options):
if base_dir:
os.chdir(cwd)
if options.build:
if ext_modules and options.build:
if len(ext_modules) > 1 and options.parallel:
if pool is None:
try:
......
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