From patchwork Sat Jan 20 23:00:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125263 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp458738ljf; Sat, 20 Jan 2018 15:02:03 -0800 (PST) X-Google-Smtp-Source: AH8x226WiWKhQ+lYuilEZcuKwFhSPUR66VWydOih+id2riE0ced1GwticOK6PEruftbw/hhK+0GD X-Received: by 10.237.38.71 with SMTP id z65mr4085722qtc.248.1516489322847; Sat, 20 Jan 2018 15:02:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516489322; cv=none; d=google.com; s=arc-20160816; b=gcsyc9LT+W5OCcS9CVU+P++QSOtEAcMvPWk0sbmk3eDcFOlfyD7pRZLR0nPzxkknnM ju7keP8mHk+trMsTPWxZcXsNDdVYya/oUHihGR02eFUBIiKaIMfzT3Pw1JjG9Vl3X7MS 5zIFmNto1GOTeLlOUGhYmWnJmoageZ1pl338y260fcDoOpYE0QRgUoW3VgzXG5TcFkxd ZOsLxgcaUlgZ3KhX++bR9hYcBB7GNSIzr/Ts34Tl+KHetwiWPP73p+J+qT/gmaWuYbwU Lzz5x63a84FUwMID2qVNtnkFMgs82nvRn12Wf6hpEO7IEOGHkd2Ck/QuGuCDe1Rm+pe7 dMlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=hsFf9nC8s66PzSt/cTSmRb21n8a9llKdUVt/doeeEi0=; b=qNMfKd47lZaNH2TFIl8FwZaDkcoW1Xz6+WbKE1hhFnHl9j8e5CKtjAkYIyh1jMcU1j l8SwMN0H8fKsuTEB92FtH/lKiEzsN8efNLjoPBHLtdX1e16OdW2s+iU5Pk1eF6hKw4br MgrDiYrUbve5SBs5pDM90iZpdDiUJaFbqJlFajhmlGYBzCjcrSfOwDuvJ3Apf089cLDX RbDnx5yPCX7aafUfm7myxkkwndwCmRS3jIEmXiUcAELc6XmQMtQJ/4KBXPBfbQB0kDWF Dc8Vlq/wZMkxtQKXUk3zSqC2hiGG5ReW3z+rp9pRsjVr1Vpeo+hkaHDYQfw/1tiLv+vw B9yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id q27si1772812qkh.313.2018.01.20.15.02.02; Sat, 20 Jan 2018 15:02:02 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 8238F617F0; Sat, 20 Jan 2018 23:02:02 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id D5D4F617DD; Sat, 20 Jan 2018 23:00:30 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 04C2E61794; Sat, 20 Jan 2018 23:00:19 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 919E260834 for ; Sat, 20 Jan 2018 23:00:16 +0000 (UTC) Received: from mxback1g.mail.yandex.net (mxback1g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:162]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 5EC6C5102124 for ; Sun, 21 Jan 2018 02:00:15 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback1g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id HcenCEHIZx-0FMeMIN5; Sun, 21 Jan 2018 02:00:15 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id f7FG0x0HdC-0Euis9Lu; Sun, 21 Jan 2018 02:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Sun, 21 Jan 2018 02:00:10 +0300 Message-Id: <1516489211-26156-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516489211-26156-1-git-send-email-odpbot@yandex.ru> References: <1516489211-26156-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 412 Subject: [lng-odp] [PATCH v4 4/5] travis: use parallel make for all builds X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Dmitry Eremin-Solenikov Use parallel make to build everything, speeding up builds. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 412 (lumag:travis-upd) ** https://github.com/Linaro/odp/pull/412 ** Patch: https://github.com/Linaro/odp/pull/412.patch ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b ** Merge commit sha: 15e457a4db3005d5fe8a7847e25657675bcc88ce **/ .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 29657a008..666b56eed 100644 --- a/.travis.yml +++ b/.travis.yml @@ -152,7 +152,7 @@ before_install: automake --add-missing --include-deps --copy autoconf ./configure --prefix=$HOME/cunit-install/$CROSS_ARCH --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test $CROSS || cat config.log - make + make -j $(nproc) sudo make install popd fi @@ -217,7 +217,7 @@ install: sed -ri -e 's,(CONFIG_RTE_KNI_KMOD=).*,\1n,' .config fi popd - make install T=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" + make install T=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" -j $(nproc) rm -r ./doc ./${TARGET}/app ./${TARGET}/build popd EXTRA_CONF="$EXTRA_CONF --with-dpdk-path=`pwd`/dpdk/${TARGET}" @@ -230,7 +230,7 @@ install: git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git pushd netmap/LINUX ./configure - make + make -j $(nproc) popd fi sudo insmod ./netmap/LINUX/netmap.ko @@ -279,6 +279,7 @@ jobs: CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug=full --enable-helper-linux + - CCACHE_DISABLE=1 make -j $(nproc) - sudo CCACHE_DISABLE=1 LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check - find . -type f -iname '*.[ch]' -not -path ".git/*" -execdir gcov {} \; ; bash <(curl -s https://codecov.io/bash) -X coveragepy - stage: test @@ -308,6 +309,7 @@ jobs: tar xpvf Release_1_8_13.tar.gz pushd doxygen-Release_1_8_13 cmake -DCMAKE_INSTALL_PREFIX=$HOME/doxygen-install . + make -j $(nproc) make install popd fi @@ -340,7 +342,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux - - make + - make -j $(nproc) - stage: "build only" env: CONF="" compiler: clang-3.8 @@ -348,7 +350,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux - - make + - make -j $(nproc) - stage: "build only" env: CROSS_ARCH="i386" compiler: gcc @@ -356,7 +358,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux $CROSS - - make + - make -j $(nproc) - stage: "build only" env: CROSS_ARCH="arm64" compiler: gcc @@ -364,7 +366,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux $CROSS - - make + - make -j $(nproc) after_failure: - cat config.log