Skip to content

Commit 474a772

Browse files
miss-islingtontonghuarootchris-eibl
authored
[3.15] gh-153668: Disable unicodectype.c optimization in regular Windows ARM64 Release builds (GH-162262) (#162368)
* 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 a0a5af4 commit 474a772

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
@@ -41,7 +41,7 @@
4141
<MSVCHasBrokenARM64Clamping Condition="$(_VCToolsVersion) == '14.34' or $(_VCToolsVersion) == '14.35'">true</MSVCHasBrokenARM64Clamping>
4242
<MSVCHasBrokenARM64SignExtension Condition="$(_VCToolsVersion) == '14.37'">true</MSVCHasBrokenARM64SignExtension>
4343
<!-- See gh-153668 and https://developercommunity.visualstudio.com/t/ARM64-compiler-uses-excessive-memory-on/11120089 -->
44-
<MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51'">true</MSVCHasBrokenARM64UniDbOpt>
44+
<MSVCHasBrokenARM64UniDbOpt Condition="$(_VCToolsVersion) == '14.50' or $(_VCToolsVersion) == '14.51' or $(_VCToolsVersion) == '14.52'">true</MSVCHasBrokenARM64UniDbOpt>
4545
</PropertyGroup>
4646

4747
<PropertyGroup>

0 commit comments

Comments
 (0)