Skip to content

Commit 337892d

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 1fb4efe commit 337892d

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
@@ -4264,24 +4264,18 @@ if (-not $SkipBuild) {
42644264
Invoke-BuildStep Build-IndexStoreDB $HostPlatform
42654265
Invoke-BuildStep Build-SourceKitLSP $HostPlatform
42664266
Invoke-BuildStep Build-Inspect $HostPlatform
4267-
}
42684267

4269-
Install-HostToolchain
4268+
Install-HostToolchain
42704269

4271-
if (-not $SkipBuild) {
42724270
Invoke-BuildStep Build-mimalloc $HostPlatform
4273-
}
42744271

4275-
if (-not $SkipBuild -and $IncludeNoAsserts) {
4276-
Build-NoAssertsToolchain
4277-
}
4272+
if ($IncludeNoAsserts) {
4273+
Build-NoAssertsToolchain
4274+
}
42784275

4279-
if (-not $SkipBuild) {
42804276
Invoke-BuildStep Build-SymbolKit $HostPlatform
42814277
Invoke-BuildStep Build-DocC $HostPlatform
4282-
}
42834278

4284-
if (-not $SkipBuild) {
42854279
Invoke-BuildStep Patch-mimalloc $HostPlatform
42864280
}
42874281

0 commit comments

Comments
 (0)