Skip to content

Commit d9162cb

Browse files
committed
build.ps1: shuffle build order
Build the complete toolchain before we build the SDK. This delays a certain class of errors, however, the resulting build order is much easier to reason about.
1 parent 838ec72 commit d9162cb

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

utils/build.ps1

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4240,24 +4240,18 @@ if (-not $SkipBuild) {
42404240
Invoke-BuildStep Build-IndexStoreDB $HostPlatform
42414241
Invoke-BuildStep Build-SourceKitLSP $HostPlatform
42424242
Invoke-BuildStep Build-Inspect $HostPlatform
4243-
}
42444243

4245-
Install-HostToolchain
4244+
Install-HostToolchain
42464245

4247-
if (-not $SkipBuild) {
42484246
Invoke-BuildStep Build-mimalloc $HostPlatform
4249-
}
42504247

4251-
if (-not $SkipBuild -and $IncludeNoAsserts) {
4252-
Build-NoAssertsToolchain
4253-
}
4248+
if ($IncludeNoAsserts) {
4249+
Build-NoAssertsToolchain
4250+
}
42544251

4255-
if (-not $SkipBuild) {
42564252
Invoke-BuildStep Build-SymbolKit $HostPlatform
42574253
Invoke-BuildStep Build-DocC $HostPlatform
4258-
}
42594254

4260-
if (-not $SkipBuild) {
42614255
Invoke-BuildStep Patch-mimalloc $HostPlatform
42624256
}
42634257

0 commit comments

Comments
 (0)