From c72576819377ddb7089d07fa2253320aa3124ced Mon Sep 17 00:00:00 2001 From: halx99 Date: Tue, 4 Jul 2023 09:23:07 +0800 Subject: [PATCH] Fix build options parsing --- tools/ci/build1k.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/ci/build1k.ps1 b/tools/ci/build1k.ps1 index 0bb4091760..1038eb9a6e 100644 --- a/tools/ci/build1k.ps1 +++ b/tools/ci/build1k.ps1 @@ -825,6 +825,7 @@ for ($i = 0; $i -lt $nopts; ++$i) { if($optv -eq '--config') { if ($i -lt ($nopts - 1)) { $optimize_flag = $buildOptions[$i + 1] + ++$i } break } @@ -849,7 +850,7 @@ else { if (!$optimize_flag) { $BUILD_ALL_OPTIONS += '--config', 'Release' } - + $BUILD_ALL_OPTIONS += "--parallel" if ($BUILD_TARGET -eq 'linux') { $BUILD_ALL_OPTIONS += "$(nproc)"