Skip to content

Commit e47c73f

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 340f8f2 commit e47c73f

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

utils/build.ps1

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4201,23 +4201,19 @@ if (-not $SkipBuild) {
42014201
Invoke-BuildStep Build-IndexStoreDB $HostPlatform
42024202
Invoke-BuildStep Build-SourceKitLSP $HostPlatform
42034203
Invoke-BuildStep Build-Inspect $HostPlatform
4204-
}
42054204

4206-
Install-HostToolchain
4205+
Install-HostToolchain
42074206

4208-
if (-not $SkipBuild) {
42094207
Invoke-BuildStep Build-mimalloc $HostPlatform
4210-
}
42114208

4212-
if (-not $SkipBuild -and $IncludeNoAsserts) {
4213-
Build-NoAssertsToolchain
4214-
}
4209+
if ($IncludeNoAsserts) {
4210+
Build-NoAssertsToolchain
4211+
}
42154212

4216-
if (-not $SkipBuild -and -not $IsCrossCompiling) {
4217-
Invoke-BuildStep Build-DocC $HostPlatform
4218-
}
4213+
if (-not $IsCrossCompiling) {
4214+
Invoke-BuildStep Build-DocC $HostPlatform
4215+
}
42194216

4220-
if (-not $SkipBuild) {
42214217
Invoke-BuildStep Patch-mimalloc $HostPlatform
42224218
}
42234219

0 commit comments

Comments
 (0)