]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: travis-ci: switch BoringSSL builds to ninja
authorIlya Shipitsin <chipitsine@gmail.com>
Sun, 21 Jun 2020 11:39:30 +0000 (16:39 +0500)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Jun 2020 09:26:26 +0000 (11:26 +0200)
using ninja instead of make speed up build by 40 sec

.travis.yml
scripts/build-ssl.sh

index 6199bc8813889f5fa351254b339c5261b013af5a..39b52ce2cc43bd31cfe530199b8c52bb6f8aacdf 100644 (file)
@@ -21,7 +21,7 @@ env:
 addons:
   apt:
     update: true
-    packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat ]
+    packages: [ liblua5.3-dev, libsystemd-dev, libpcre2-dev, clang-9, socat, ninja-build ]
   homebrew:
     update: true
     packages: [ socat ]
index 0940f3c2223f2e7da4e3ea3adb87cbbb537c7e6b..34eee9bb972aefd49a2fe471b2c09af007281381 100755 (executable)
@@ -100,8 +100,8 @@ if [ ! -z ${BORINGSSL+x} ]; then
         if [ -d build ]; then rm -rf build; fi
        mkdir build
        cd build
-       cmake -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
-       make
+       cmake  -GNinja -DCMAKE_BUILD_TYPE=release -DBUILD_SHARED_LIBS=1 ..
+       ninja
 
        rm -rf ${SSL_LIB} || exit 0
        rm -rf ${SSL_INC} || exit 0