Skip to content

Commit 2a9da27

Browse files
committed
rename RequirePGCFiles to RequireProfileData
because the name is too MSVC specific
1 parent 8c8aa79 commit 2a9da27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

PCbuild/pyproject-clangcl.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<Target Name="EnsureClangProfileData" BeforeTargets="PrepareForBuild"
1212
Condition="'$(SupportPGO)' and $(Configuration) == 'PGUpdate'">
1313
<Error Text="PGO run did not succeed (no $(TargetName)_*.profraw files) and there is no data to merge"
14-
Condition="$(RequirePGCFiles) == 'true' and @(_profrawFiles) == ''" />
14+
Condition="$(RequireProfileData) == 'true' and @(_profrawFiles) == ''" />
1515
</Target>
1616

1717
<Target Name="MergeClangProfileData" BeforeTargets="PrepareForBuild"

PCbuild/pyproject.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public override bool Execute() {
193193
</ItemGroup>
194194
<Delete Files="@(_CopyFiles->'$(OutDir)%(Filename)%(Extension)')" />
195195
<Error Text="PGO run did not succeed (no $(TargetName)!*.pgc files) and there is no data to merge"
196-
Condition="$(RequirePGCFiles) == 'true' and @(_PGCFiles) == ''" />
196+
Condition="$(RequireProfileData) == 'true' and @(_PGCFiles) == ''" />
197197
<Copy SourceFiles="@(_CopyFiles)"
198198
DestinationFolder="$(OutDir)"
199199
UseHardLinksIfPossible="true"

PCbuild/pythoncore.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</ImportGroup>
8282
<PropertyGroup>
8383
<KillPython>true</KillPython>
84-
<RequirePGCFiles>true</RequirePGCFiles>
84+
<RequireProfileData>true</RequireProfileData>
8585
<IncludeExternals Condition="$(IncludeExternals) == '' and Exists('$(zlibDir)\zlib.h')">true</IncludeExternals>
8686
<IncludeExternals Condition="$(IncludeExternals) == ''">false</IncludeExternals>
8787
</PropertyGroup>

0 commit comments

Comments
 (0)