From f2457b32c796a3f3147d9cf9b15a0e705906bf9c Mon Sep 17 00:00:00 2001 From: Fabian Sauter Date: Tue, 26 Jul 2022 12:45:00 +0200 Subject: [PATCH] Python building only with one job in parallel Signed-off-by: Fabian Sauter --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b94748007..e7c634f7b 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,8 @@ class CMakeBuild(build_ext): ] cfg = 'Debug' if self.debug else 'Release' - build_args = ['--config', cfg] + build_args = ['--config', cfg, + '--parallel', '1'] env = os.environ.copy() oldCxxFlags = env.get('CXXFLAGS', '')