From patchwork Sat Jan 20 22:00:05 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: 125260 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp445041ljf; Sat, 20 Jan 2018 14:02:47 -0800 (PST) X-Google-Smtp-Source: AH8x225LELP7UXPbkSHE+6JzsqoBYtweUgWBxP93TXLgHi3g4jhfWYwG6lMh28zxtgjiOZetPh5j X-Received: by 10.237.46.130 with SMTP id k2mr4280586qtd.85.1516485767178; Sat, 20 Jan 2018 14:02:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516485767; cv=none; d=google.com; s=arc-20160816; b=xukFovnM3xgnm/nJn5QFB4USYy0HXJWcUmiSpMVGY8MsfxP+sPXCYaQbCuh9ZcY8EY 6KzPFmg+ysVft7bDTy3Yc8pFhud3OMjK9H0qCGZukwh/9jzXe+8wT8xVAVQXS7qIEp9m +s9Te9FtZfjAY1Px+dRrSW/fguXKWCJiGbMoXlyhoRxNOcVpQp7hMrGppxveARPhs5Rz E9UlpgPLzLHqBQ67Dn3d+0E7C84W50e+GQI1evht2Q0Sj8JLQ2ccI+AWkdJnMkAB7TI8 CRqP0RuPdVQiACMDqYteJL33n6F/s9vCQ2vxhAGZVFXA8urFmQwkIQmKzdfouRPxnns6 EOyA== 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=C+D51qihLaj7dEMIdNfY4nUf0qtr+hRYJ8De3+JnMOw=; b=A0U9lIgMOGPsidc9+pivMLbTre9zW3enzlsX5XwiFKjFfc0kMbaA3wlDvuDkJ+F4Il C0+CA/cmTqr6eftHYSHSmUKSq+f40esD8Q75tNLkWncJniuuCPrzLJ3xUDfzahUx8XmN FEBxv1jXRhgBQdc3IYRC35k5Ytq7GB30l3/tlHh1rWYDfU4QeuzufGY/iZjX82mQ8Uij 1i6+9kebuMoJqrMWdCIQvQdmKiFnECA3M5Z8QTxW3QhZLdbVNRYJ4NuqqvW5tGTeNIOL zw5oPt4QMSjlasIppyOUJRMgh/iGWGUY+h72O4CHmm6Xeeg0BddvVKvlUl4ruIW/Ocn3 SvNA== 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 j44si940111qtj.359.2018.01.20.14.02.46; Sat, 20 Jan 2018 14:02:47 -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 D3D2F6178E; Sat, 20 Jan 2018 22:02:46 +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 2FC9E6179E; Sat, 20 Jan 2018 22: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 7595261731; Sat, 20 Jan 2018 22:00:16 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 0066D6088C for ; Sat, 20 Jan 2018 22:00:13 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 4FAB34301825 for ; Sun, 21 Jan 2018 01:00:10 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id MPgpDsGUUS-0At0SmGw; Sun, 21 Jan 2018 01:00:10 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id LPmoe42h6Q-09mKtIlk; Sun, 21 Jan 2018 01:00:09 +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 01:00:05 +0300 Message-Id: <1516485606-24768-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516485606-24768-1-git-send-email-odpbot@yandex.ru> References: <1516485606-24768-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 412 Subject: [lng-odp] [PATCH v1 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: 3d2664767caeeb88129c63135b083e5a0b25a3a3 **/ .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b34f3aa2d..17a582048 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