mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-11 22:23:49 +00:00
Build on Windows on ARM with v145.
This commit is contained in:
@@ -519,9 +519,13 @@ stage('lzma', """
|
||||
win:
|
||||
git clone https://github.com/desktop-app/lzma.git
|
||||
cd lzma\\C\\Util\\LzmaLib
|
||||
msbuild -m LzmaLib.sln /property:Configuration=Debug /property:Platform="$X8664"
|
||||
SET "ToolsetProp="
|
||||
winarm:
|
||||
SET "ToolsetProp=/property:PlatformToolset=v145"
|
||||
win:
|
||||
msbuild -m LzmaLib.sln /property:Configuration=Debug /property:Platform="$X8664" %ToolsetProp%
|
||||
release:
|
||||
msbuild -m LzmaLib.sln /property:Configuration=Release /property:Platform="$X8664"
|
||||
msbuild -m LzmaLib.sln /property:Configuration=Release /property:Platform="$X8664" %ToolsetProp%
|
||||
""")
|
||||
|
||||
stage('xz', """
|
||||
@@ -1387,10 +1391,12 @@ depends:patches/breakpad.diff
|
||||
win:
|
||||
SET "PYTHONUTF8=1"
|
||||
SET "FolderPostfix="
|
||||
SET "ToolsetProp="
|
||||
win64:
|
||||
SET "FolderPostfix=_x64"
|
||||
winarm:
|
||||
SET "FolderPostfix=_ARM64"
|
||||
SET "ToolsetProp=/property:PlatformToolset=v145"
|
||||
win:
|
||||
depends:python/Scripts/activate.bat
|
||||
%THIRDPARTY_DIR%\\python\\Scripts\\activate.bat
|
||||
@@ -1402,7 +1408,7 @@ release:
|
||||
ninja -C out/Release%FolderPostfix% common crash_generation_client exception_handler
|
||||
cd tools\\windows\\dump_syms
|
||||
gyp dump_syms.gyp --format=msvs
|
||||
msbuild -m dump_syms.vcxproj /property:Configuration=Release /property:Platform="x64"
|
||||
msbuild -m dump_syms.vcxproj /property:Configuration=Release /property:Platform="x64" %ToolsetProp%
|
||||
win:
|
||||
deactivate
|
||||
mac:
|
||||
|
||||
Reference in New Issue
Block a user