Skip to content

Commit 7f2ec5d

Browse files
tonghuarootchris-eibl
authored andcommitted
gh-153668: Disable unicodectype.c optimization in regular Windows ARM64 Release builds (GH-162262)
* gh-153668: Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected. --------- (cherry picked from commit 3d248a2) Co-authored-by: tonghuaroot (童话) <tonghuaroot@gmail.com> Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com>
1 parent a8474ce commit 7f2ec5d

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Disable ``unicodectype.c`` optimization in regular Windows ARM64 Release
2+
builds due to a compiler bug in MSVC 14.50, 14.51, and 14.52. PGO builds are not affected.

‎PCbuild/pyproject.props‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34' or $(_VCToolsVersion) == '14.35'">true</MSVCHasBrokenARM64Clamping>
4040
<MSVCHasBrokenARM64SignExtension Condition="$(_VCToolsVersion) == '14.37'">true</MSVCHasBrokenARM64SignExtension>
4141
<!-- See gh-153668 and https://developercommunity.visualstudio.com/t/ARM64-compiler-uses-excessive-memory-on/11120089 -->
42-
<MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51'">true</MSVCHasBrokenARM64UniDbOpt>
42+
<MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51' or $(_VCToolsVersion) == '14.52'">true</MSVCHasBrokenARM64UniDbOpt>
4343
</PropertyGroup>
4444

4545
<PropertyGroup>

0 commit comments

Comments
 (0)