Kaydet (Commit) 5951ec0f authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Pick up 32-bit launcher from PGO directory on 64-bit PGO build.

üst bddf7244
...@@ -115,6 +115,8 @@ Tests ...@@ -115,6 +115,8 @@ Tests
Build Build
----- -----
- Pick up 32-bit launcher from PGO directory on 64-bit PGO build.
- Drop PC\python_nt.h as it's not used. Add input dependency on custom - Drop PC\python_nt.h as it's not used. Add input dependency on custom
build step. build step.
......
...@@ -974,14 +974,17 @@ def add_files(db): ...@@ -974,14 +974,17 @@ def add_files(db):
# 32-bit installer. # 32-bit installer.
# XXX does this still allow to install the component on a 32-bit system? # XXX does this still allow to install the component on a 32-bit system?
# Pick up 32-bit binary always # Pick up 32-bit binary always
launcher = os.path.join(srcdir, "PCBuild", "py.exe") launchersrc = PCBUILD
if launchersrc.lower() == 'pcbuild\\x64-pgo':
launchersrc = 'PCBuild\\win32-pgo'
launcher = os.path.join(srcdir, launchersrc, "py.exe")
launcherdir.start_component("launcher", flags = 8+256, keyfile="py.exe") launcherdir.start_component("launcher", flags = 8+256, keyfile="py.exe")
launcherdir.add_file("%s/py.exe" % PCBUILD, launcherdir.add_file(launcher,
version=installer.FileVersion(launcher, 0), version=installer.FileVersion(launcher, 0),
language=installer.FileVersion(launcher, 1)) language=installer.FileVersion(launcher, 1))
launcherw = os.path.join(srcdir, "PCBuild", "pyw.exe") launcherw = os.path.join(srcdir, launchersrc, "pyw.exe")
launcherdir.start_component("launcherw", flags = 8+256, keyfile="pyw.exe") launcherdir.start_component("launcherw", flags = 8+256, keyfile="pyw.exe")
launcherdir.add_file("%s/pyw.exe" % PCBUILD, launcherdir.add_file(launcherw,
version=installer.FileVersion(launcherw, 0), version=installer.FileVersion(launcherw, 0),
language=installer.FileVersion(launcherw, 1)) language=installer.FileVersion(launcherw, 1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment