From 6d98955aa60923b304e414f0bb99803ce2db6f5a Mon Sep 17 00:00:00 2001 From: Julien Marrec Date: Wed, 29 May 2024 07:48:39 +0200 Subject: [PATCH] Use make -j nproc for nix building --- builders/nix-python-builder.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builders/nix-python-builder.psm1 b/builders/nix-python-builder.psm1 index 4f27c447..c263cf9f 100644 --- a/builders/nix-python-builder.psm1 +++ b/builders/nix-python-builder.psm1 @@ -113,8 +113,8 @@ class NixPythonBuilder : PythonBuilder { Write-Debug "make Python $($this.Version)-$($this.Architecture) $($this.Platform)" $buildOutputLocation = New-Item -Path $this.WorkFolderLocation -Name "build_output.txt" -ItemType File - - Execute-Command -Command "make 2>&1 | tee $buildOutputLocation" -ErrorAction Continue + + Execute-Command -Command "make -j $([Environment]::ProcessorCount) 2>&1 | tee $buildOutputLocation" -ErrorAction Continue Execute-Command -Command "make install" -ErrorAction Continue Write-Debug "Done; Make log location: $buildOutputLocation"