Skip to content

Commit 89e9681

Browse files
committed
utils: remove extra timing data collection
The timing data collection is now homed under `Invoke-BuildStep`. `Build-SPMProject` is an implementation detail of the build step and is timed at a higher level.
1 parent befc15e commit 89e9681

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

utils/build.ps1

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,8 @@ enum SPMBuildAction {
14541454

14551455
function Build-SPMProject {
14561456
[CmdletBinding(PositionalBinding = $false)]
1457-
param(
1457+
param
1458+
(
14581459
[SPMBuildAction] $Action,
14591460
[string] $Src,
14601461
[string] $Bin,
@@ -1525,10 +1526,6 @@ function Build-SPMProject {
15251526
Write-Host -ForegroundColor Cyan "[$([DateTime]::Now.ToString("yyyy-MM-dd HH:mm:ss"))] Finished building '$Src' to '$Bin' in $($Stopwatch.Elapsed)"
15261527
Write-Host ""
15271528
}
1528-
1529-
if ($Summary) {
1530-
Add-TimingData $BuildArch.LLVMName "Windows" $Src.Replace($SourceCache, '') $Stopwatch.Elapsed
1531-
}
15321529
}
15331530

15341531
function Build-WiXProject() {

0 commit comments

Comments
 (0)