Install/use older MSVC to compile bootloader

This commit is contained in:
Jay Lee
2020-03-27 15:05:38 -04:00
parent 73bfd6abaa
commit 8c59241abb
2 changed files with 4 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
echo "Installing Net-Framework-Core..."
export mypath=$(pwd)
choco upgrade all
choco install vcbuildtools
until powershell Install-WindowsFeature Net-Framework-Core; do echo "trying again..."; done
cd ~
@@ -39,7 +39,7 @@ tar xf develop.tar.gz
cd pyinstaller-develop/bootloader
echo "bootloader before:"
md5sum ../PyInstaller/bootloader/Windows-32bit/*
$python ./waf all --target-arch=32bit
$python ./waf all --msvc_version "msvc 14.0"
echo "bootloader after:"
md5sum ../PyInstaller/bootloader/Windows-32bit/*
echo "PATH: $PATH"

View File

@@ -1,7 +1,7 @@
echo "Installing Net-Framework-Core..."
export mypath=$(pwd)
choco upgrade all
choco install vcbuildtools
until powershell Install-WindowsFeature Net-Framework-Core; do echo "trying again..."; done
cd ~
@@ -42,8 +42,7 @@ cd pyinstaller-develop/bootloader
echo "bootloader before:"
md5sum ../PyInstaller/bootloader/Windows-64bit/*
$python ./waf all --target-arch=64bit
cat build/config.log
$python ./waf all --target-arch=64bit --msvc_version "msvc 14.0"
echo "bootloader after:"
md5sum ../PyInstaller/bootloader/Windows-64bit/*