Skip to content

Commit 3b3ec81

Browse files
authored
try using jom for parallel windows compilation (#649)
* try using jom for parallel windows compilation * try removing -j4
1 parent f351549 commit 3b3ec81

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/build-windows-openssl.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/[email protected]
3030
with:
3131
persist-credentials: false
32-
- run: choco install -y nasm winrar
32+
- run: choco install -y nasm winrar jom
3333
- name: Export OpenSSL version
3434
run: |
3535
source ./cryptography-linux/openssl-version.sh

windows/openssl/build_openssl_win32.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x86
22
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86
33
SET PATH=%PATH%;C:\Program Files\NASM
4+
SET CL=/FS
45

56
perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN32
6-
nmake
7+
jom
78
if %errorlevel% neq 0 exit /b %errorlevel%
89

910
mkdir ..\build

windows/openssl/build_openssl_win64.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=x64
22
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
33
SET PATH=%PATH%;C:\Program Files\NASM
4+
SET CL=/FS
45

56
perl Configure %OPENSSL_BUILD_FLAGS_WINDOWS% VC-WIN64A
6-
nmake
7+
jom
78
if %errorlevel% neq 0 exit /b %errorlevel%
89

910
mkdir ..\build

0 commit comments

Comments
 (0)