summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGkvJwa <gkvjwa@gmail.com>2024-05-04 18:56:28 +0800
committerJohn Preston <johnprestonmail@gmail.com>2024-05-07 09:52:32 +0400
commit593e76479ccb6fa7299a5638b28a6e8c1f2376b1 (patch)
treebad7f658d9b1538606b82f9a1fa42001add7028c
parent5d622b906e63a18155f7e812609d99a1e7b877af (diff)
Use jom build openssl on windows
-rw-r--r--Telegram/build/prepare/prepare.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py
index ce00e278ef..ce6c87b9bf 100644
--- a/Telegram/build/prepare/prepare.py
+++ b/Telegram/build/prepare/prepare.py
@@ -593,25 +593,25 @@ stage('openssl3', """
git clone -b openssl-3.2.1 https://github.com/openssl/openssl openssl3
cd openssl3
win32:
- perl Configure no-shared no-tests debug-VC-WIN32
+ perl Configure no-shared no-tests debug-VC-WIN32 /FS
win64:
- perl Configure no-shared no-tests debug-VC-WIN64A
+ perl Configure no-shared no-tests debug-VC-WIN64A /FS
win:
- nmake
+ jom -j%NUMBER_OF_PROCESSORS%
mkdir out.dbg
move libcrypto.lib out.dbg
move libssl.lib out.dbg
move ossl_static.pdb out.dbg
release:
move out.dbg\\ossl_static.pdb out.dbg\\ossl_static
- nmake clean
+ jom clean
move out.dbg\\ossl_static out.dbg\\ossl_static.pdb
win32:
- perl Configure no-shared no-tests VC-WIN32
+ perl Configure no-shared no-tests VC-WIN32 /FS
win64:
- perl Configure no-shared no-tests VC-WIN64A
+ perl Configure no-shared no-tests VC-WIN64A /FS
win:
- nmake
+ jom -j%NUMBER_OF_PROCESSORS%
mkdir out
move libcrypto.lib out
move libssl.lib out