From patchwork Wed Aug 30 13:00:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 111313 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp896211qge; Wed, 30 Aug 2017 06:07:21 -0700 (PDT) X-Google-Smtp-Source: ADKCNb53i+2BXdhLWEHTjyj8/uAXv84IOFiLUtQW6NNQhi13gfhsZjhg+X6MfEL4pzZdq1sRLCyJ X-Received: by 10.200.23.146 with SMTP id o18mr1850512qtj.117.1504098441189; Wed, 30 Aug 2017 06:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504098441; cv=none; d=google.com; s=arc-20160816; b=eA0EIbGJlsE+Axf9RYcqZw3rtX2NDLhR3WiWqHua6YpNLzAc7+i5/NCo544wESXoPP R/uz9yugB8/sSJu/1QnBag8+Ot+yHIWxzy542GJBU30hbIJfjjnqFuvynNqZxlSm3bgL JL+wnrf2fSrQ6n+AwbyN3AtRb19eebvoEA1sikUxwDnmo7LOQVqgFaAnl5GFyMWawIrH ZYmJXDuq8wB0L4z7hcm5wycXnqrtAbDXMRMtJehxz6N7X9oA+ZLQylxjtTcUeW9fA+1d KEWkdMsWi9Es1OlTz+iJIOp5V+/TR170pJwhSOXR3HtvydhZJQGwuJDPNznMyrzyrdpn ZrZA== 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=Hh7hbrz/aSuSsJGANIwTCWCLBERG5DBo8cal7bBcX9o=; b=gSy4YRTJgmNW3DnEjsNOTxkZZWsO4pHGQge8vardoD5Dw1Re/v/svzQrTRKL546gqX k/HmuhN7WWaSsw6e89OVjPx7wsUivSPMrR27ckIwgo1/MtkWPJSvA3JgTsQ1AwoAIGcy 2dIhwKgb4Nl8GsgqMdOU6qflVwj5gdNEs7pH0Mtn++OXG7ZnjhNWDp4SDkwZDTgwdblo uxC3wbg6i3QLFr+3ViujnsyZD9cNPf01uy0bd6HzhGg57nUu/dLMyRxsURxSKhOUSxPP VTWHqU5JJ5HXgLR9oAtOfviQ6doGt47w8IVoq5PFeP62zMZOvnuqeMSV3Hu2wKukA8GW bdoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l1si5159503qtc.505.2017.08.30.06.07.20; Wed, 30 Aug 2017 06:07:21 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 BE24962C5C; Wed, 30 Aug 2017 13:07:20 +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,URIBL_BLOCKED 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 DC3C562D06; Wed, 30 Aug 2017 13:01:48 +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 313F962C6C; Wed, 30 Aug 2017 13:01:40 +0000 (UTC) Received: from forward3p.cmail.yandex.net (forward3p.cmail.yandex.net [77.88.31.18]) by lists.linaro.org (Postfix) with ESMTPS id 8A09F61E1A for ; Wed, 30 Aug 2017 13:00:37 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::28]) by forward3p.cmail.yandex.net (Yandex) with ESMTP id 59A03210F9 for ; Wed, 30 Aug 2017 16:00:35 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id 3BF0C6C00F40 for ; Wed, 30 Aug 2017 16:00:32 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id pn21Hwqvkv-0Wvai32Y; Wed, 30 Aug 2017 16:00:32 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0 From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 30 Aug 2017 16:00:11 +0300 Message-Id: <1504098014-29411-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504098014-29411-1-git-send-email-odpbot@yandex.ru> References: <1504098014-29411-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v3 5/8] travis: split configure commands into individual options 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: Bill Fischofer Avoid long configure command lines by splitting it into individual lines for each option. This permits easy future option maintenance without running into checkpatch line length checks. Signed-off-by: Bill Fischofer --- /** Email created from pull request 155 (lumag:improve-build-2) ** https://github.com/Linaro/odp/pull/155 ** Patch: https://github.com/Linaro/odp/pull/155.patch ** Base sha: 7508c5ac906bb7cb1d339b4c5e924f3a18e504ca ** Merge commit sha: 1488a0e31aecd1fa958bf32f1c0ca0b0e0f56409 **/ .travis.yml | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 87 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 245ade2a..478d4200 100644 --- a/.travis.yml +++ b/.travis.yml @@ -150,7 +150,17 @@ install: script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-dpdk-path=`pwd`/dpdk/${TARGET} + --with-netmap-path=`pwd`/netmap + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF --enable-debug - make -j $(nproc) - mkdir /dev/shm/odp @@ -175,8 +185,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" @@ -184,8 +201,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: arm-linux-gnueabihf-gcc @@ -193,8 +217,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" @@ -202,8 +233,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: powerpc-linux-gnu-gcc @@ -211,8 +249,15 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" @@ -220,15 +265,34 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug + --disable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - make -j $(nproc) - stage: test env: TEST=coverage compiler: gcc script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap CFLAGS="-O0 -coverage" --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-dpdk-path=`pwd`/dpdk/${TARGET} + --with-netmap-path=`pwd`/netmap CFLAGS="-O0 + -coverage" + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" --enable-debug - sudo 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 @@ -237,7 +301,15 @@ jobs: compiler: gcc script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH + - ./configure --prefix=$HOME/odp-install + --enable-test-cpp + --enable-test-vald + --enable-test-helper + --enable-test-perf + --enable-user-guides + --enable-test-perf-proc + --enable-test-example + --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-cunit-path=$HOME/cunit-install/$CROSS_ARCH" - stage: test env: TEST=doxygen