]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45582: Fix test_embed failure during a PGO build on Windows (GH-30014)
authorneonene <53406459+neonene@users.noreply.github.com>
Fri, 10 Dec 2021 17:13:55 +0000 (02:13 +0900)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 17:13:55 +0000 (17:13 +0000)
commit3f398a77d37b5dfd51dabbc362d482a482fa885a
tree9ab6ad057291bc7ce12f9cf0286bd49556d5e407
parent036bbb1d1b6156a1a72c40e9f907f302505085bc
bpo-45582: Fix test_embed failure during a PGO build on Windows (GH-30014)

This defines VPATH differently in PGO instrumentation builds, to account for a different default output directory. It also adds sys._vpath on Windows to make the value available to sysconfig so that it can be used in tests.
Lib/sysconfig.py
Lib/test/test_embed.py
Modules/getpath.py
PCbuild/_freeze_module.vcxproj
PCbuild/python.props
PCbuild/pythoncore.vcxproj
Python/sysmodule.c