Mailing List Archive

gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)
https://github.com/python/cpython/commit/38feffa09c74d9a853745908b7813903bae33b96
commit: 38feffa09c74d9a853745908b7813903bae33b96
branch: main
author: David Machaj <46852402+dmachaj@users.noreply.github.com>
committer: zooba <steve.dower@microsoft.com>
date: 2022-05-19T22:44:03+01:00
summary:

gh-92984: Explicitly disable incremental linking for Windows Release and PGO builds (GH-92985)

files:
A Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst
M PCbuild/pyproject.props

diff --git a/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst b/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst
new file mode 100644
index 0000000000000..2d3071b00b761
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2022-05-19-14-01-30.gh-issue-92984.Dsxnlr.rst
@@ -0,0 +1 @@
+Explicitly disable incremental linking for non-Debug builds
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props
index 8d24393aa1861..df3efc631d154 100644
--- a/PCbuild/pyproject.props
+++ b/PCbuild/pyproject.props
@@ -18,6 +18,7 @@
<SupportSigning Condition="'$(SupportSigning)' == ''">true</SupportSigning>
<SupportSigning Condition="'$(Configuration)' == 'Debug'">false</SupportSigning>
<SupportSigning Condition="'$(ConfigurationType)' == 'StaticLibrary'">false</SupportSigning>
+ <LinkIncremental Condition="$(Configuration) != 'Debug'">false</LinkIncremental>
</PropertyGroup>

<PropertyGroup>

_______________________________________________
Python-checkins mailing list
Python-checkins@python.org
https://mail.python.org/mailman/listinfo/python-checkins