From 68b9c2cbf7c89ae58117043e6afc4fed866ac79f Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Tue, 1 Dec 2020 09:14:15 +0100 Subject: [PATCH] appveyor.yml: Let 'nmake' do builds in parallel on all CPU cores Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/13580) --- appveyor.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index c3d070fc539..aa99f5062be 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,5 +1,5 @@ image: - - Visual Studio 2017 + - Visual Studio 2017 platform: - x64 @@ -62,6 +62,7 @@ build_script: - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { cmd /c "%NMAKE% build_all_generated 2>&1" + # Unfortunately, CL=/MP would not have parallelizing effect cmd /c "%NMAKE% PERL=no-perl 2>&1" } - cd .. @@ -70,6 +71,7 @@ test_script: - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { + # Unfortunately, HARNESS_JOBS=4 would not have parallelizing effect if ($env:EXTENDED_TESTS) { cmd /c "%NMAKE% test HARNESS_VERBOSE_FAILURE=yes 2>&1" } Else { -- 2.47.3