Skip to content

Commit 24baa04

Browse files
github-actions[bot]sbomeragocke
authored
Re-enable PGO for linux (#85410)
Co-authored-by: Sven Boemer <[email protected]> Co-authored-by: Andy Gocke <[email protected]>
1 parent bc84bd3 commit 24baa04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

eng/nativepgo.targets

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<NativeOptimizationDataSupported Condition="'$(TargetOS)' == 'windows' And ('$(TargetArchitecture)' == 'x64' Or '$(TargetArchitecture)' == 'x86' Or '$(TargetArchitecture)' == 'arm64')">true</NativeOptimizationDataSupported>
4-
<!-- Disable PGO until we get profile data collected with a new clang -->
5-
<NativeOptimizationDataSupported Condition="'$(TargetOS)' == 'linux' And ('$(TargetArchitecture)' == 'x64' Or '$(TargetArchitecture)' == 'arm64')">false</NativeOptimizationDataSupported>
4+
<NativeOptimizationDataSupported Condition="'$(TargetOS)' == 'linux' And ('$(TargetArchitecture)' == 'x64' Or '$(TargetArchitecture)' == 'arm64')">true</NativeOptimizationDataSupported>
65
<NativeOptimizationDataSupported Condition="'$(NoPgoOptimize)' == 'true'">false</NativeOptimizationDataSupported>
76
<NativeOptimizationDataSupported Condition="'$(Configuration)' != 'Release'">false</NativeOptimizationDataSupported>
87

0 commit comments

Comments
 (0)