From patchwork Wed Aug 2 15:00:04 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: 109227 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2887116qge; Wed, 2 Aug 2017 08:02:17 -0700 (PDT) X-Received: by 10.237.63.163 with SMTP id s32mr33025860qth.61.1501686137062; Wed, 02 Aug 2017 08:02:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501686137; cv=none; d=google.com; s=arc-20160816; b=dVMIxwbJhByIA/FhYejDj0Vbl4Ee6u6gmcpRxgseJeyE73LVefmJJoOD4e6H1ehHXM YBT/1ih5a9VgVRyCtmSmBt2TgjY9YNQFnIJLnFxL0ygypGLf59bCA2RfchC8myr/jZJJ 5oR11kwb1wrMVjG89SqHiApGkbWOnqmpUM0MXdxosOKfT25sLK0FHvdE4HbKtzaamRDW Lyquytz4Dcel9mQiuOeZud8zCns7AIJgRe8Hex6AmOdsOf2ztvMEpb32jDJRYKnbFlaD Dx4RBUY3wRAbSpuscihq1LJRe73ntilZ6RlFceynjVqYNZRHhwj71jkzKKXoZwRlz43Y goXA== 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=STZkd1MXipIqsN61T1tlQhVDdhhYCNkq5DDa+WIfYM0=; b=usCch1vcHZu33SXAH9DDSV1EjxCuwYc3O4aV6Qqac+Uisz7bQeazLXiXzLUIaY7yvQ s2EIh5YlF4NxQg9sMuDDgX4pRMiWCZP9tbUnhjV2idQc6E/aitV8ndOi1FMEHCRG0XVq qe9LRopk3oLklpKNMzfY8xNbj25fTvubW0Qo9S1++XhmitwTiCzk08BnB6neYJrCxT2D aRXC+6noq7TVqmquCw0ABtpXBRG+zxAtMIdz4X+UDub1D+RhExzrSeen3jHHGiJbU8/u i5EQAhF88tKmwROlkB2ZaxHHxrHlq40BryXfIm7wR0cRzHS31OQxMDXkYiov2Xf7LHz4 CGLQ== 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 a12si23460076qtb.382.2017.08.02.08.02.16; Wed, 02 Aug 2017 08:02:17 -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 A4CCC65C69; Wed, 2 Aug 2017 15:02:16 +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 DD14A65C74; Wed, 2 Aug 2017 15:00:32 +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 1A9F065C5A; Wed, 2 Aug 2017 15:00:22 +0000 (UTC) Received: from forward3j.cmail.yandex.net (forward3j.cmail.yandex.net [5.255.227.21]) by lists.linaro.org (Postfix) with ESMTPS id 590B0644E4 for ; Wed, 2 Aug 2017 15:00:20 +0000 (UTC) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::27]) by forward3j.cmail.yandex.net (Yandex) with ESMTP id BBFDC210E2 for ; Wed, 2 Aug 2017 18:00:18 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 54C0E2940F81 for ; Wed, 2 Aug 2017 18:00:12 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OJe5oDhtTv-0AuWvFAP; Wed, 02 Aug 2017 18:00:10 +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, 2 Aug 2017 18:00:04 +0300 Message-Id: <1501686006-18319-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> References: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 104 Subject: [lng-odp] [PATCH v1 1/3] travis: cache netmap build 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: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 104 (muvarov:master_travis_cache) ** https://github.com/Linaro/odp/pull/104 ** Patch: https://github.com/Linaro/odp/pull/104.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit sha: 7551b4468cbe92e2ec42a5d8feb70268b49bccda **/ .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26dd2b38..64e01634 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,7 @@ cache: - pip - directories: - dpdk + - netmap env: - CONF="" @@ -133,12 +134,15 @@ install: fi # Netmap pktio - - 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 - - sudo insmod ./netmap.ko - - popd + - | + if [ ! -f "netmap/LINUX/netmap.ko" ]; then + 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 + sudo insmod ./netmap.ko + popd + fi script: - ./bootstrap From patchwork Wed Aug 2 15:00:05 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: 109231 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2890998qge; Wed, 2 Aug 2017 08:04:55 -0700 (PDT) X-Received: by 10.55.66.23 with SMTP id p23mr30774044qka.270.1501686295760; Wed, 02 Aug 2017 08:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501686295; cv=none; d=google.com; s=arc-20160816; b=0MucP4ad5LIuDYAOHKBuQSf3ySJDxSVhbAG285gt6AOrXx0p6HA9aLaBz+1f8X7kQX h3QU8SN+BLPoYQOqx3QkRyKu5lkrFwOfGiumkSUEL2qJQfe31lZNpFZmeOjHifiA13EN OO8gdb+rcmAG/HInuLKfz/4xBOzD72+OT6C0Nq2x+N4VeSNdymNkVp7797E/bfAzbl1D v/kaRQCH/ZKqbcVRVitXsIQJDU0IoUOFcyiFBmAyQ1kxq5JTlifhbyLo+bmfhuW/nYRZ m6cmfuV3wDH30k/n8HD7bki0GEtn+8cfNdIQmlcdmsbPCBTCE22H7LqoTqI6MD52trwk gCeA== 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=M5tuszi73V2bEHefZc0P/ZMp3AwGyIn6Kfn+SOQ4GCw=; b=0p5a5VzPIcesKKKTK2V3jqM+6QEgtmLwUma9u5dDULiVJbytbYhdUNENZEeSBCGVYs qLQ8Orp/Zn0crCmc+yRuwOGu6N5CbD1/p+mdY6U535eO1CxfaaAq5cytyaMKAop8VP4Y QgAd9jI7y4kX9V2xFl0JNFAWKjntdXPtEAlK/4jMNSGyYxbFtMkzaBYWfsgburorJ3pY dgOxAYpfO2yawRaOE58KLxdzTR+KcoxDce2MRnySkp0UQL5bSiDfxR1+olQ/nKwMByoP lBery/X+tOkfmeQaCNo6M9bE+Actr4OvoVbtDjYRjz2E3stzcJFj+prBxzvEv5pW8wND xdpg== 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 p5si31274381qkp.56.2017.08.02.08.04.55; Wed, 02 Aug 2017 08:04:55 -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 1B1DD65C7C; Wed, 2 Aug 2017 15:04:55 +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 1691165CD9; Wed, 2 Aug 2017 15:02:29 +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 60BA565C68; Wed, 2 Aug 2017 15:02:13 +0000 (UTC) Received: from forward4h.cmail.yandex.net (forward4h.cmail.yandex.net [87.250.230.101]) by lists.linaro.org (Postfix) with ESMTPS id 8F4E065C65 for ; Wed, 2 Aug 2017 15:00:27 +0000 (UTC) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward4h.cmail.yandex.net (Yandex) with ESMTP id CF564209B6 for ; Wed, 2 Aug 2017 18:00:23 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id A01AC2940FCC for ; Wed, 2 Aug 2017 18:00:14 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OJe5oDhtTv-0DuiBPCp; Wed, 02 Aug 2017 18:00:13 +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, 2 Aug 2017 18:00:05 +0300 Message-Id: <1501686006-18319-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> References: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 104 Subject: [lng-odp] [PATCH v1 2/3] tavis: cache cunit 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: Maxim Uvarov Signed-off-by: Maxim Uvarov --- /** Email created from pull request 104 (muvarov:master_travis_cache) ** https://github.com/Linaro/odp/pull/104 ** Patch: https://github.com/Linaro/odp/pull/104.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit sha: 7551b4468cbe92e2ec42a5d8feb70268b49bccda **/ .travis.yml | 60 ++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 32 insertions(+), 28 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64e01634..b006af3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,6 +61,7 @@ cache: - directories: - dpdk - netmap + - $HOME/cunit-install env: - CONF="" @@ -88,23 +89,26 @@ before_install: fi - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi - ccache -s - # Install cunit for the validation tests because distro version is too old and fails C99 compile - sudo apt-get remove libcunit1-dev libcunit1 - - export CUNIT_VERSION=2.1-3 - - curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 - - tar -jxf *.bz2 - - pushd CUnit* - - libtoolize --force --copy - - aclocal - - autoheader - - automake --add-missing --include-deps --copy - - autoconf - - ./configure --enable-debug --enable-automated --enable-basic --enable-console --enable-examples --enable-test $CROSS || cat config.log - - make - - sudo make install - - popd - - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" + - export LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" + - | + if [ ! -f "$HOME/cunit-install/$CROSS_ARCH/lib/libcunit.a" ]; then + export CUNIT_VERSION=2.1-3 + curl -sSOL https://github.com/Linaro/libcunit/releases/download/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 + tar -jxf *.bz2 + pushd CUnit* + libtoolize --force --copy + aclocal + autoheader + 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 + sudo make install + popd + fi + - find $HOME/cunit-install install: - echo 1000 | sudo tee /proc/sys/vm/nr_hugepages @@ -146,10 +150,10 @@ 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 $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 - make -j $(nproc) - mkdir /dev/shm/odp - - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check + - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check - make install - echo "Checking linking and run from install..." @@ -171,7 +175,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + --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\"" @@ -179,8 +183,8 @@ jobs: install: true script: - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + - ./configure --prefix=$HOME/odp/odp-install $CROSS + --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 @@ -189,7 +193,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + --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\"" @@ -198,7 +202,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + --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 @@ -207,7 +211,7 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + --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\"" @@ -216,23 +220,23 @@ jobs: script: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS - --disable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-test-perf-proc --enable-test-example + --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" CXXFLAGS="-O0 -coverage" LDFLAGS="--coverage" - - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" PATH=${PATH//:\.\/node_modules\/\.bin/} make check + - ./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" + - 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 - stage: test env: TEST=distcheck 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 - - sudo PATH="$PATH" LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make distcheck + - ./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 - stage: test env: TEST=doxygen compiler: gcc From patchwork Wed Aug 2 15:00:06 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: 109228 Delivered-To: patch@linaro.org Received: by 10.140.101.6 with SMTP id t6csp2887767qge; Wed, 2 Aug 2017 08:02:45 -0700 (PDT) X-Received: by 10.55.18.27 with SMTP id c27mr31373274qkh.352.1501686165566; Wed, 02 Aug 2017 08:02:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1501686165; cv=none; d=google.com; s=arc-20160816; b=WbWHh+LBcBX+/+qu7QVyTLleodi29fT9toDc8yCAdx4v4TOkHAcRmJkHqBFPAQ391c woW5Vi7fiG3paTwmnYpEmcT8jYPN/cZK4h7phJh/kkO/sTmFSRAweH6VrA5n6OX6jJnl K3J1QL+e6AXP2MsgcENko36JKXiAMnKkexzMNvt0b7Nn8S+6lOGmJqUotx6W5s9wkjs0 ExFa7QLgAWKe/XeL1EXtw2MGoc/MZmZn+ADQySrJakhUCg8rshslzhAaNRgXH9ipOImM H5Rr5Uc0uajClVb3CZDIb6QKLbS0+783jsEehwAmdHQTlaRG/Se3krILZEEn86MFTzDe gL+Q== 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=BYLe9RjgaQ9kBWLvqacR9U0U1DXhzlwwhVTVMybTEtI=; b=0tPNGI7a+Zh5D2cY3swdYNzMyhm2NzxjTLgbWBdw1a+WVHGa4CFA7DVWTBnHMpb0Rn w9doYFc+3ruxEnOG7GlSv7H0sUkqNBD8R4TR8TjaWBislo8zkQYfkX5AgRduU7NvvOk5 pQQwqisom6jC6UYnPA0gVFCgoz7grBpMZRpIBUWbj5LTXel7nt9Z1fF6ftHITWTLAJMH cfXebmGyPWGYeLSDYe4eLeQWzDbxiOLC9OK5HFBXk4R06ArEyIRr9dj//NKflt4quo0U JCXsI+SLRgglfu2HdF5WIkaGp6hsZgjYrnKubzOO41QwlZ6dfkYKQKkYBvAq9tpOPQ+I 4tbg== 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 c33si25705458qtb.549.2017.08.02.08.02.45; Wed, 02 Aug 2017 08:02:45 -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 105FA65CFC; Wed, 2 Aug 2017 15:02:45 +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 3855C65C7B; Wed, 2 Aug 2017 15:00:39 +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 58F2565C65; Wed, 2 Aug 2017 15:00:24 +0000 (UTC) Received: from forward2o.cmail.yandex.net (forward2o.cmail.yandex.net [37.9.109.243]) by lists.linaro.org (Postfix) with ESMTPS id D015B65C4F for ; Wed, 2 Aug 2017 15:00:21 +0000 (UTC) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [37.140.190.28]) by forward2o.cmail.yandex.net (Yandex) with ESMTP id 3CDAA210D2 for ; Wed, 2 Aug 2017 18:00:20 +0300 (MSK) Received: from smtp3o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3o.mail.yandex.net (Yandex) with ESMTP id 3A1842940EFC for ; Wed, 2 Aug 2017 18:00:16 +0300 (MSK) Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OJe5oDhtTv-0Fu0wK1T; Wed, 02 Aug 2017 18:00:15 +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, 2 Aug 2017 18:00:06 +0300 Message-Id: <1501686006-18319-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> References: <1501686006-18319-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 104 Subject: [lng-odp] [PATCH v1 3/3] travis: make distcheck work with custom cunit 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: Maxim Uvarov distcheck uses it's own arguments to validate distribution and does not inherrit them from top level configure. Provide c/ld flags directly to make it happy compile and run tests. Signed-off-by: Maxim Uvarov --- /** Email created from pull request 104 (muvarov:master_travis_cache) ** https://github.com/Linaro/odp/pull/104 ** Patch: https://github.com/Linaro/odp/pull/104.patch ** Base sha: bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c ** Merge commit sha: 7551b4468cbe92e2ec42a5d8feb70268b49bccda **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b006af3e..6da2a858 100644 --- a/.travis.yml +++ b/.travis.yml @@ -236,7 +236,7 @@ jobs: 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 - - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck + - sudo PATH="$PATH" LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" make distcheck CFLAGS="-I$HOME/cunit-install/$CROSS_ARCH/include" LDFLAGS="-L$HOME/cunit-install/$CROSS_ARCH/lib" - stage: test env: TEST=doxygen compiler: gcc