Skip to content

Commit 26fb51f

Browse files
committed
Do not build _freeze_module twice in case of PGO
Speeds up both MSVC and clang-cl builds. Should most probably done in a separate PR and issue, though.
1 parent a529c39 commit 26fb51f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PCbuild/pcbuild.proj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
</ItemGroup>
9696

9797
<Target Name="Build">
98-
<MSBuild Projects="@(FreezeProjects)"
98+
<MSBuild Condition="$(Configuration) != 'PGUpdate'"
99+
Projects="@(FreezeProjects)"
99100
Properties="Configuration=%(Configuration);Platform=%(Platform);%(Properties)"
100101
BuildInParallel="%(BuildInParallel)"
101102
StopOnFirstFailure="true"

0 commit comments

Comments
 (0)