Skip to content

Commit 95ea010

Browse files
authored
Merge pull request #79933 from compnerd/concise
utils: remove extraneous arch printing for build.ps1
2 parents d20eb63 + 2afa639 commit 95ea010

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/build.ps1

+6-6
Original file line numberDiff line numberDiff line change
@@ -1045,9 +1045,9 @@ function Build-CMakeProject {
10451045

10461046
if ($ToBatch) {
10471047
Write-Output ""
1048-
Write-Output "echo Building '$Src' to '$Bin' for arch '$($Arch.LLVMName)'..."
1048+
Write-Output "echo Building '$Src' to '$Bin' ..."
10491049
} else {
1050-
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Building '$Src' to '$Bin' for arch '$($Arch.LLVMName)'..."
1050+
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Building '$Src' to '$Bin' ..."
10511051
}
10521052

10531053
$Stopwatch = [Diagnostics.Stopwatch]::StartNew()
@@ -1369,7 +1369,7 @@ function Build-CMakeProject {
13691369
}
13701370

13711371
if (-not $ToBatch) {
1372-
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Finished building '$Src' to '$Bin' for arch '$($Arch.LLVMName)' in $($Stopwatch.Elapsed)"
1372+
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Finished building '$Src' to '$Bin' in $($Stopwatch.Elapsed)"
13731373
Write-Host ""
13741374
}
13751375

@@ -1411,9 +1411,9 @@ function Build-SPMProject {
14111411

14121412
if ($ToBatch) {
14131413
Write-Output ""
1414-
Write-Output "echo $ActionForOutput '$Src' to '$Bin' for arch '$($Arch.LLVMName)'..."
1414+
Write-Output "echo $ActionForOutput '$Src' to '$Bin' ..."
14151415
} else {
1416-
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] $ActionForOutput '$Src' to '$Bin' for arch '$($Arch.LLVMName)'..."
1416+
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] $ActionForOutput '$Src' to '$Bin' ..."
14171417
}
14181418

14191419
$Stopwatch = [Diagnostics.Stopwatch]::StartNew()
@@ -1461,7 +1461,7 @@ function Build-SPMProject {
14611461
}
14621462

14631463
if (-not $ToBatch) {
1464-
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Finished building '$Src' to '$Bin' for arch '$($Arch.LLVMName)' in $($Stopwatch.Elapsed)"
1464+
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Finished building '$Src' to '$Bin' in $($Stopwatch.Elapsed)"
14651465
Write-Host ""
14661466
}
14671467

0 commit comments

Comments
 (0)