From patchwork Wed Aug 30 17:00:02 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: 111325 Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp1240515qge; Wed, 30 Aug 2017 10:04:19 -0700 (PDT) X-Google-Smtp-Source: ADKCNb5KHVyE7UGH905DHR/FDNV1AcNF9ITgN1YRy4njYb2LpWLF9Ce9j9djX935jMJTwwFBZYVG X-Received: by 10.200.35.18 with SMTP id a18mr2884887qta.307.1504112658949; Wed, 30 Aug 2017 10:04:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504112658; cv=none; d=google.com; s=arc-20160816; b=qb+fskvtNiZJIBMiU80u1EMsQj4IFXJJUn29OKLoVTX/33AYwXWmm8JdZxiHNpOQc8 zoB1D9rHr7CZ74M4oiAUOz49A4aDahPfhxYOfpDfhvaG4bhpy81r1payclYQMNxYZYrE OOsxpLM9DXUd8FuXD1ccUFMs6nCSEkqHhAp19JNee9cVeOuqZOVWe/0kPQ4AD2fuMqxb D8c7+h50nqWpOgAMB3GHeLC7oEDetBpQp4pPGadZD3fs0IN4wLRZVFnsAJ5+F9XMjwuU Ay+IHGmn84Kzy6z5j0boO84KY0dKvfN/1rQDenKC/jHQnPOLqeglbfG7yKAR7AcXkVLU HtuA== 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=jBn4jlKwbPj2JQkoFTINMXHAijgUhu4qLseQS30QUAs=; b=JBQ4M+JXg1o3/GAOarScZe+ilpA8wByF8tPg0eA6++KXcuVSD9RgoWmLjA60MrUQwm pbQQAo5D2zjGKiIwdX6s5q+FwVgXhz/bw4uYF/vanm8posV6003gjxRhEr7ixdefPOSW 0Lk0nFbBUIBA9CHKd+WVIP19sfoZXsLvU9wkCt4gnmjpHTXEGUX0tGv4keUSuvwVtoux 18shv9s6qSm/S8Wk/mw+X4QJjVEgfRF8KTYBIXSm7DLCTk5Ae1fK270Qz5sg8tK4+lc3 ovd+DLctfhxDUQruMOwhnG9NDS4lvk/AofhHfdQkBGz76LbeEryTqEIgpWUo5F1uNXZ1 A7qA== 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 o53si5620408qto.221.2017.08.30.10.04.18; Wed, 30 Aug 2017 10:04:18 -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 35B0D62AE8; Wed, 30 Aug 2017 17:04:18 +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 07A2062D20; Wed, 30 Aug 2017 17:00:43 +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 8A3E462C62; Wed, 30 Aug 2017 17:00:28 +0000 (UTC) Received: from forward4j.cmail.yandex.net (forward4j.cmail.yandex.net [5.255.227.22]) by lists.linaro.org (Postfix) with ESMTPS id D54D662AE8 for ; Wed, 30 Aug 2017 17:00:23 +0000 (UTC) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [IPv6:2a02:6b8:0:1619::15:6]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id 713EB20841 for ; Wed, 30 Aug 2017 20:00:22 +0300 (MSK) Received: from smtp4j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4j.mail.yandex.net (Yandex) with ESMTP id 451113240D40 for ; Wed, 30 Aug 2017 20:00:21 +0300 (MSK) Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id vVX7TjUjPU-0LLmMs5L; Wed, 30 Aug 2017 20:00:21 +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 20:00:02 +0300 Message-Id: <1504112406-3108-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> References: <1504112406-3108-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 155 Subject: [lng-odp] [PATCH v4 5/9] 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: 82cd6ec8e88e93808778f00e24852395a62ae20b **/ .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