gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 191/222: appveyor: Use two parallel compilation on appveyor with


From: gnunet
Subject: [gnurl] 191/222: appveyor: Use two parallel compilation on appveyor with CMake
Date: Thu, 07 Nov 2019 00:11:27 +0100

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 503816250c013082c507552b2b239b8ed5b3cd90
Author: MichaƂ Janiszewski <address@hidden>
AuthorDate: Sat Oct 19 20:09:55 2019 +0200

    appveyor: Use two parallel compilation on appveyor with CMake
    
    Appveyor provides 2 CPUs for each builder[1], make sure to use parallel
    compilation, when running with CMake. CMake learned this new option in
    version 3.12[2] and the version provided by appveyor is fresh enough.
    
    Curl doesn't really take that long to build and it is using the slowest
    builder available, msbuild, so expect only a moderate improvement in
    build times.
    
    [1] https://www.appveyor.com/docs/build-environment/
    [2] https://cmake.org/cmake/help/v3.12/release/3.12.html
    
    Closes #4508
---
 appveyor.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/appveyor.yml b/appveyor.yml
index e1bc91485..e8d6e2521 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -160,7 +160,7 @@ build_script:
         -DCMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG=""
         -DCMAKE_INSTALL_PREFIX="C:/CURL"
         -DCMAKE_BUILD_TYPE=%PRJ_CFG% &&
-        cmake --build . --config %PRJ_CFG% --clean-first -- %BUILD_OPT%) else (
+        cmake --build . --config %PRJ_CFG% --parallel 2 --clean-first -- 
%BUILD_OPT%) else (
       if %BUILD_SYSTEM%==VisualStudioSolution (
         cd projects &&
         .\\generate.bat %VC_VERSION% &&

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]