Skip to content

Commit 91466e1

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 94bbdf5 commit 91466e1

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

utils/build.ps1

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4306,24 +4306,18 @@ if (-not $SkipBuild) {
43064306
Invoke-BuildStep Build-IndexStoreDB $HostPlatform
43074307
Invoke-BuildStep Build-SourceKitLSP $HostPlatform
43084308
Invoke-BuildStep Build-Inspect $HostPlatform
4309-
}
4309+
Invoke-BuildStep Build-SymbolKit $HostPlatform
4310+
Invoke-BuildStep Build-DocC $HostPlatform
43104311

4311-
Install-HostToolchain
4312+
Install-HostToolchain
43124313

4313-
if (-not $SkipBuild) {
43144314
Invoke-BuildStep Build-mimalloc $HostPlatform
4315-
}
43164315

4317-
if (-not $SkipBuild -and $IncludeNoAsserts) {
4318-
Build-NoAssertsToolchain
4319-
}
4316+
if ($IncludeNoAsserts) {
4317+
Build-NoAssertsToolchain
4318+
}
43204319

4321-
if (-not $SkipBuild) {
4322-
Invoke-BuildStep Build-SymbolKit $HostPlatform
4323-
Invoke-BuildStep Build-DocC $HostPlatform
4324-
}
43254320

4326-
if (-not $SkipBuild) {
43274321
Invoke-BuildStep Patch-mimalloc $HostPlatform
43284322
}
43294323

0 commit comments

Comments
 (0)