summaryrefslogtreecommitdiffstats
path: root/Tools/msi
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-12 03:19:35 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-12 03:19:35 (GMT)
commite7da2f8380fbd92d5978e9fb8ce317ecfd17d12e (patch)
tree5f9b63b4a8cd8bb41c222c81f93235918d0a8fee /Tools/msi
parent654a7bdf572aa1732d31b12c1c814ead0321027b (diff)
downloadcpython-e7da2f8380fbd92d5978e9fb8ce317ecfd17d12e.zip
cpython-e7da2f8380fbd92d5978e9fb8ce317ecfd17d12e.tar.gz
cpython-e7da2f8380fbd92d5978e9fb8ce317ecfd17d12e.tar.bz2
Make PGO use usual build directory on Windows.
Diffstat (limited to 'Tools/msi')
-rw-r--r--Tools/msi/buildrelease.bat9
1 files changed, 1 insertions, 8 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
index 1af5ac1..710acac 100644
--- a/Tools/msi/buildrelease.bat
+++ b/Tools/msi/buildrelease.bat
@@ -111,16 +111,10 @@ if "%1" EQU "x86" (
set BUILD_PLAT=Win32
set OUTDIR_PLAT=win32
set OBJDIR_PLAT=x86
-) else if "%~2" NEQ "" (
- call "%PCBUILD%env.bat" amd64
- set PGO=%~2
- set BUILD=%PCBUILD%amd64-pgo\
- set BUILD_PLAT=x64
- set OUTDIR_PLAT=amd64
- set OBJDIR_PLAT=x64
) else (
call "%PCBUILD%env.bat" amd64
set BUILD=%PCBUILD%amd64\
+ set PGO=%~2
set BUILD_PLAT=x64
set OUTDIR_PLAT=amd64
set OBJDIR_PLAT=x64
@@ -177,7 +171,6 @@ if not "%SKIPBUILD%" EQU "1" (
)
set BUILDOPTS=/p:Platform=%1 /p:BuildForRelease=true /p:DownloadUrl=%DOWNLOAD_URL% /p:DownloadUrlBase=%DOWNLOAD_URL_BASE% /p:ReleaseUri=%RELEASE_URI%
-if "%PGO%" NEQ "" set BUILDOPTS=%BUILDOPTS% /p:PGOBuildPath=%BUILD%
msbuild "%D%bundle\releaselocal.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=true
if errorlevel 1 exit /B
msbuild "%D%bundle\releaseweb.wixproj" /t:Rebuild %BUILDOPTS% %CERTOPTS% /p:RebuildAll=false