From patchwork Mon Nov 7 15:49:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 81118 Delivered-To: patch@linaro.org Received: by 10.182.113.165 with SMTP id iz5csp1184884obb; Mon, 7 Nov 2016 07:58:17 -0800 (PST) X-Received: by 10.31.87.133 with SMTP id l127mr4418356vkb.152.1478533816628; Mon, 07 Nov 2016 07:50:16 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id b137si7606789vkf.104.2016.11.07.07.50.16; Mon, 07 Nov 2016 07:50:16 -0800 (PST) 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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 1915C60A10; Mon, 7 Nov 2016 15:50: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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 4B8DB60900; Mon, 7 Nov 2016 15:50:12 +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 5CCE66093C; Mon, 7 Nov 2016 15:50:09 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by lists.linaro.org (Postfix) with ESMTPS id 2B750608CD for ; Mon, 7 Nov 2016 15:50:07 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id c13so116994215lfg.0 for ; Mon, 07 Nov 2016 07:50:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HVG208FiB056L8Bj0YQ8Lk8iE0pCbkfYnhvAOtbMR6Q=; b=GZ6eOi6ltINBphh1b1mHP3XQmb9qehI5rEDNMTuu4HZNjVdgC3Me2VkMPdkc9CHjP/ HMPo+WqR0rcys3OdOZzteAwy+2nm/5IoTqWJfiUXpJ+SlWmVyyQhFXk7RKWu74GXCM0Q xByf+NTPthobInw07fwQ+AAOrZ69D0Qbjaevk7HzYtlsNO6wGl2cZ3qUPEP6bSlnNy6X 2M9KGHarLpCFCIJRXtmKWJCLODw+tNiV4nlMCochYXUtJ8p2Y9DCsTEQnGjZF4NWB4iS TU6iO55XcFXIYTje/r1bOEt93D3hfFoX/J3gzHF/GKRveBzCXbKpBvKOZ1Ckne+8POiS aZaA== X-Gm-Message-State: ABUngvcIjD2jPaanBXd+jpoeW1a++J+IdlqZ9JMcw0pVNsJ9uxPvIk5noaXlt5XqzgUpvXGCskE= X-Received: by 10.25.215.208 with SMTP id q77mr4077683lfi.126.1478533805916; Mon, 07 Nov 2016 07:50:05 -0800 (PST) Received: from localhost.localdomain (ppp46-138-205-38.pppoe.spdop.ru. [46.138.205.38]) by smtp.gmail.com with ESMTPSA id p3sm5248426lfe.1.2016.11.07.07.50.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 07:50:05 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Mon, 7 Nov 2016 18:49:44 +0300 Message-Id: <1478533784-29037-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 2.7.1.250.gff4ea60 X-Topics: patch Subject: [lng-odp] [PATCH] travis: linux-gen: add dpdk pktio 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" Turn on linux-generic dpdk and pcap pktios with their validation tests. Signed-off-by: Maxim Uvarov --- .travis.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) -- 2.7.1.250.gff4ea60 Reviewed-by: Mike Holmes diff --git a/.travis.yml b/.travis.yml index 0d1add3..1092cd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ sudo: required before_install: - sudo apt-get -qq update - sudo apt-get install automake autoconf libtool libssl-dev graphviz mscgen doxygen + - sudo apt-get install libpcap-dev linux-headers-`uname -r` - gem install asciidoctor # Install cunit for the validation tests because distro version is too old and fails C99 compile @@ -24,12 +25,25 @@ before_install: - sudo make install - cd .. - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" - -install: - - ./bootstrap +# DPDK pktio + - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"} + - git clone http://dpdk.org/git/dpdk dpdk + - pushd dpdk + - git checkout -b bv16.07 v16.07 + - make config T=${TARGET} O=${TARGET} + - pushd ${TARGET} + - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config + - popd + - make install T=${TARGET} EXTRA_CFLAGS="-fPIC" + - popd script: - - ./configure --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example + + - ./bootstrap + - ./configure --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} - make check + - git clean -f -d -x && rm -rf dpdk + - ./bootstrap + - ./configure - make doxygen-doc - make distcheck