build: add win toolchain for release builds (#45380)

* build: add win toolchain for release builds

* build: fix installed_software.json script

* chore: run pwsh script within src

* build: fixup uploader arch
This commit is contained in:
Keeley Hammond 2025-02-03 22:06:01 -08:00 committed by GitHub
parent 1d27a27813
commit c147e4fa81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 0 deletions

View file

@ -10,6 +10,7 @@ PLATFORM = {
'linux': 'linux',
'linux2': 'linux',
'win32': 'win32',
'win': 'win32',
}[sys.platform]
verbose_mode = False
@ -26,6 +27,8 @@ def get_target_arch():
arch = os.environ.get('TARGET_ARCH')
if arch is None:
return 'x64'
if arch == 'x86':
return 'ia32'
return arch
def set_verbose_mode(mode):