From: Dr. David von Oheimb Date: Tue, 1 Dec 2020 08:14:15 +0000 (+0100) Subject: appveyor.yml: Let 'nmake' do builds in parallel on all CPU cores X-Git-Tag: openssl-3.0.0-alpha10~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68b9c2cbf7c89ae58117043e6afc4fed866ac79f;p=thirdparty%2Fopenssl.git 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) --- 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 {