Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import glob
import io
from multiprocessing.pool import ThreadPool
from multiprocessing import cpu_count
import os
from os.path import join
from pathlib import Path
Expand All @@ -23,7 +24,6 @@

from pkgconfig_utils import pkg_config_multi


# Package meta-data.
NAME = "pclpy"
DESCRIPTION = "Python bindings for the Point Cloud Library"
Expand Down Expand Up @@ -376,7 +376,7 @@ def parallel_compile(
)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)

n_processes = 1 # number of parallel compilations
n_processes = cpu_count() # number of parallel compilations

def _single_compile(obj):
try:
Expand Down