From patchwork Thu Jan 18 23:00:17 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: 125057 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp34077ljf; Thu, 18 Jan 2018 15:03:51 -0800 (PST) X-Google-Smtp-Source: AH8x225oSXjNTlSlQ7Lvb/W/eeKMTR2cyZDOmyDSOB1kJwwxSQxw7+ZfIgueBZNGJogCo6WBYHYV X-Received: by 10.237.49.9 with SMTP id 9mr4277448qtg.147.1516316631224; Thu, 18 Jan 2018 15:03:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516316631; cv=none; d=google.com; s=arc-20160816; b=Gmnxa/hQkkbdWDwvY2HPHWMmiclwgeF4yKy6xaXjCJAgQO6WTcyPCKlqv0TGdKoGdy Mv/uDdfmyssYK7g3RGOw1bNmzd2Yy8uusC8972Is7kDrKJPbs+aCqnxqF63Sp4U2FjBt kQoqHm+TKJsShMmu3WHxzW6EMIzwSFqnDErIWvi8CJpu7WE4G+yR0AeUVNjqHxzZvkam UGgb1YAqq92hy//y+9gbwV5h7EPqhacr0ELE8DB2Ze8qY7CwsdNKs1xJWYOCS9nzCW+G 8KybxM/SE9UBKjKTz1/kynQvx2u3kyD5zvuZ0qEtTi2Q8BY2nBh0/5T5EZg6iabYgSkw wWSQ== 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=6nTV802aayxVTn7eaKVfMHBRCv/VYt8hoVgyCFK7C6g=; b=Vi+ECTTC0G9Fbxdj8p7qNkKTrMmqbCj1wO5gYuZbfMciOoQUoHUOCfUG4JruIMcNW0 /b1pDcsyDfDFSfrpAGyOj3kq6GOysbJhuVKMyiD0GLBKrdCV7U+lc4yBXQjGiuvQJ8PM x3c96bNwxPGiy84HCOPJtS2HCqarzrCCjc+p7aAn/SqP3iZ/j5LJDeB78byHbhYQo34I GtYKepAX8GcAOyVijDdtpKEH/uCs1GN9U1FvaJF9PCTZDmiYgT1faQHiSKXDgk4Mp1dZ 2t3AWUEkMXH8O88EudQg/HesNl7aUEXpG5He8uqt/jH7801pFgKMPm7tF/na3wDfCrSm vjUg== 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 131si2539287qkh.482.2018.01.18.15.03.42; Thu, 18 Jan 2018 15:03:51 -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 E970F617B0; Thu, 18 Jan 2018 23:03:41 +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 36F1A617CF; Thu, 18 Jan 2018 23:02:37 +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 E931C6171B; Thu, 18 Jan 2018 23:02:26 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id 4FF406171B for ; Thu, 18 Jan 2018 23:01:56 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 03D2D181331 for ; Fri, 19 Jan 2018 02:01:55 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FMDWKP9xAM-1sb8jmLl; Fri, 19 Jan 2018 02:01:54 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id dngx7RWyZH-1mq8qFGc; Fri, 19 Jan 2018 02:01:48 +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: Fri, 19 Jan 2018 02:00:17 +0300 Message-Id: <1516316420-16628-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516316420-16628-1-git-send-email-odpbot@yandex.ru> References: <1516316420-16628-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 402 Subject: [lng-odp] [PATCH v2 3/6] 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 402 (lumag:travis-upd) ** https://github.com/Linaro/odp/pull/402 ** Patch: https://github.com/Linaro/odp/pull/402.patch ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b ** Merge commit sha: 3d02540f1ad3c03edc8b784bf0f92b86d9b756a1 **/ .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index df942de59..cd571f4f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -149,7 +149,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 @@ -214,7 +214,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}" @@ -227,7 +227,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 @@ -276,6 +276,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 @@ -305,6 +306,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 @@ -337,7 +339,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux - - make + - make -j $(nproc) - stage: "build only" env: CONF="" compiler: clang-3.8 @@ -345,7 +347,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux - - make + - make -j $(nproc) - stage: "build only" env: CROSS_ARCH="i386" compiler: gcc @@ -353,7 +355,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux $CROSS - - make + - make -j $(nproc) - stage: "build only" env: CROSS_ARCH="arm64" compiler: gcc @@ -361,7 +363,7 @@ jobs: script: - ./bootstrap - ./configure --enable-helper-linux $CROSS - - make + - make -j $(nproc) after_failure: - cat config.log