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