mirror of https://github.com/KLayout/klayout.git
testing with more threads for travis ubuntu
This commit is contained in:
parent
8cbb76fff6
commit
18518353ba
3
setup.py
3
setup.py
|
|
@ -72,7 +72,8 @@ def parallelCCompile(self, sources, output_dir=None, macros=None, include_dirs=N
|
|||
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
|
||||
# parallel code
|
||||
|
||||
N = min(N_cores, 4) # number of parallel compilations
|
||||
N = min(N_cores, len(objects) // 2) # number of parallel compilations
|
||||
print("Compiling", output_dir, "with", N, "threads.")
|
||||
import multiprocessing.pool
|
||||
|
||||
def _single_compile(obj):
|
||||
|
|
|
|||
Loading…
Reference in New Issue