Commit bb65b5bf authored by Zachary Ware's avatar Zachary Ware

Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the

pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.
parent 99fb0513
...@@ -92,6 +92,10 @@ Documentation ...@@ -92,6 +92,10 @@ Documentation
Build Build
----- -----
- Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
- Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH - Add workaround for VS 2010 nmake clean issue. VS 2010 doesn't set up PATH
for nmake.exe correctly. for nmake.exe correctly.
......
...@@ -181,6 +181,12 @@ ...@@ -181,6 +181,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl> <Midl>
...@@ -206,6 +212,12 @@ ...@@ -206,6 +212,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile> <ClCompile>
...@@ -231,6 +243,12 @@ ...@@ -231,6 +243,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl> <Midl>
...@@ -259,6 +277,12 @@ ...@@ -259,6 +277,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|Win32'">
<ClCompile> <ClCompile>
...@@ -282,6 +306,12 @@ ...@@ -282,6 +306,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGInstrument|x64'">
<Midl> <Midl>
...@@ -308,6 +338,12 @@ ...@@ -308,6 +338,12 @@
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
<TargetMachine>MachineX64</TargetMachine> <TargetMachine>MachineX64</TargetMachine>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|Win32'">
<ClCompile> <ClCompile>
...@@ -331,6 +367,12 @@ ...@@ -331,6 +367,12 @@
<IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries> <IgnoreSpecificDefaultLibraries>libc;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'"> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='PGUpdate|x64'">
<Midl> <Midl>
...@@ -357,6 +399,12 @@ ...@@ -357,6 +399,12 @@
<BaseAddress>0x1e000000</BaseAddress> <BaseAddress>0x1e000000</BaseAddress>
<TargetMachine>MachineX64</TargetMachine> <TargetMachine>MachineX64</TargetMachine>
</Link> </Link>
<PreBuildEvent>
<Command>$(KillPythonExe)</Command>
</PreBuildEvent>
<PreBuildEvent>
<Message>Killing any running $(PythonExe) instances...</Message>
</PreBuildEvent>
</ItemDefinitionGroup> </ItemDefinitionGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\Include\abstract.h" /> <ClInclude Include="..\Include\abstract.h" />
......
...@@ -2,6 +2,5 @@ ...@@ -2,6 +2,5 @@
cmd /c Tools\buildbot\external-amd64.bat cmd /c Tools\buildbot\external-amd64.bat
call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64 call "%VS100COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
cmd /c Tools\buildbot\clean-amd64.bat cmd /c Tools\buildbot\clean-amd64.bat
msbuild PCbuild\kill_python.vcxproj /p:Configuration=Debug /p:PlatformTarget=x64
PCbuild\amd64\kill_python_d.exe
msbuild PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=x64 msbuild PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=x64
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
cmd /c Tools\buildbot\external.bat cmd /c Tools\buildbot\external.bat
call "%VS100COMNTOOLS%vsvars32.bat" call "%VS100COMNTOOLS%vsvars32.bat"
cmd /c Tools\buildbot\clean.bat cmd /c Tools\buildbot\clean.bat
msbuild PCbuild\kill_python.vcxproj /p:Configuration=Debug /p:PlatformTarget=x86
PCbuild\kill_python_d.exe
msbuild PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=Win32 msbuild PCbuild\pcbuild.sln /p:Configuration=Debug /p:Platform=Win32
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