summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradang1345 <adang1345@gmail.com>2024-09-10 19:52:49 (GMT)
committerGitHub <noreply@github.com>2024-09-10 19:52:49 (GMT)
commit00ffdf27367fb9aef247644a96f1a9ffb5be1efe (patch)
treed113cbae74e04aad300fd995fe31999b96595b13
parenta2d0818c85c985a54f358e1d9ea7ce3eb0c5acca (diff)
downloadcpython-00ffdf27367fb9aef247644a96f1a9ffb5be1efe.zip
cpython-00ffdf27367fb9aef247644a96f1a9ffb5be1efe.tar.gz
cpython-00ffdf27367fb9aef247644a96f1a9ffb5be1efe.tar.bz2
gh-123915: Ensure that Windows AMD64 and ARM64 release builds use different directories (GH-123918)
-rw-r--r--Misc/NEWS.d/next/Windows/2024-09-10-19-23-00.gh-issue-123915.yZMEDO.rst1
-rw-r--r--Tools/msi/buildrelease.bat2
2 files changed, 2 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Windows/2024-09-10-19-23-00.gh-issue-123915.yZMEDO.rst b/Misc/NEWS.d/next/Windows/2024-09-10-19-23-00.gh-issue-123915.yZMEDO.rst
new file mode 100644
index 0000000..026b09d
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2024-09-10-19-23-00.gh-issue-123915.yZMEDO.rst
@@ -0,0 +1 @@
+Ensure that ``Tools\msi\buildrelease.bat`` uses different directories for AMD64 and ARM64 builds.
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
index 839f620..77fb477 100644
--- a/Tools/msi/buildrelease.bat
+++ b/Tools/msi/buildrelease.bat
@@ -127,7 +127,7 @@ if "%1" EQU "x86" (
set OUTDIR_PLAT=amd64
set OBJDIR_PLAT=x64
) else if "%1" EQU "ARM64" (
- set BUILD=%Py_OutDir%amd64\
+ set BUILD=%Py_OutDir%arm64\
set PGO=%~2
set BUILD_PLAT=ARM64
set OUTDIR_PLAT=arm64