Skip to content

Commit

Permalink
Update build.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 authored Feb 3, 2024
1 parent d5be4bf commit 6106bdf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 1k/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1659,9 +1659,8 @@ if (!$setupOnly) {
# step4. build
# apply additional build options
$BUILD_ALL_OPTIONS += "--parallel"
if ($Global:is_linux) {
$BUILD_ALL_OPTIONS += "$(nproc)"
}
$BUILD_ALL_OPTIONS += "$([Environment]::ProcessorCount)"

if (($cmake_generator -eq 'Xcode') -and ($BUILD_ALL_OPTIONS.IndexOf('--verbose') -eq -1)) {
$BUILD_ALL_OPTIONS += '--', '-quiet'
}
Expand Down

0 comments on commit 6106bdf

Please sign in to comment.