From patchwork Fri Oct 6 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: 115073 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1893234qgn; Fri, 6 Oct 2017 08:02:18 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBZTPmZn5Zkb+GIXOFJctNgRtT5k9ox4CM2BlXfxNWbz24K7VYzKmj2Rx80VRmPiRo5ikjA X-Received: by 10.36.69.100 with SMTP id y97mr2847066ita.50.1507302138730; Fri, 06 Oct 2017 08:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507302138; cv=none; d=google.com; s=arc-20160816; b=lGAvc/tw6PbLUKt2m8H7scJMpCsjfCz2iuGWacnjQP0zvKN1coXAnP2puS22Q07k9q HpBuOvthWyxss9X7dsCO3Y+bORroRAs3jdNGMfaZKvhrPAHp0lY32wiko4phTxoL9ffn oG+/03NbQOYKhDiM8LurPPf5dsjiJr8Mr0A+/ZorYbb+gr/fKlDfKBM0/MoDqG1npSqS X7ko9EA9prClkkaICqfoMXG3lFB/qxHD9zROVGH0/EWj27VMskWjg4mNbAp7SJpkN/f0 fmUJvtNKGYGJ2qYHrxwNEoX4BONGm6yt8RJcPval9EldI4zaCZFuA8RJgKigDvEs/vN/ kg+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=qQL53X97s2zDWZnuWktmE36PGg8mYDs7qYPjCuZaQSU=; b=I6voPJUXGf42A3GHoIYIKyTkPsJuxczsFEP6Ie/4rrkH7sU+Hl3grOLtx1yz4yQ1td qJ6OhO48W5JCTqChKbWf6T7Avgwv/68SxpBAwocfBSV7rOXiLxBsZNXHDN+O6xrBf7d0 crfEH8F0Re1lZcHnHVpkJd2ANSA67m/dZ5F1BHHAEPcn/sgcVj74n2VaOywfLSI1EXju nhh5lNDnXyBJ5opsRVWj5pp8p6AoZJ6F1Rg1RLeyv4+u+13a0ir04HQgmu3YP1Dw3ShE Gq5Pt61YWqguR/ezkqgDt8jlUmKiLoeWY7JRl4TaIluSDcWQ2j4CHHkVJ0MMaBOuiB3F p0mw== 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 x200si1151563iod.138.2017.10.06.08.02.18; Fri, 06 Oct 2017 08:02: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 2C228644DC; Fri, 6 Oct 2017 15:02: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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM 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 50414644E0; Fri, 6 Oct 2017 15:00:34 +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 4ECB360CA4; Fri, 6 Oct 2017 15:00:24 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 3AF5060CA4 for ; Fri, 6 Oct 2017 15:00:18 +0000 (UTC) Received: from mxback10g.mail.yandex.net (mxback10g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:171]) by forward105o.mail.yandex.net (Yandex) with ESMTP id C840A4443A63 for ; Fri, 6 Oct 2017 18:00:16 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback10g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 4zRH3rv4Nk-0G6aJDOD; Fri, 06 Oct 2017 18:00:16 +0300 Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bTZdAmeAyv-0GrCUY9B; Fri, 06 Oct 2017 18:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 6 Oct 2017 18:00:05 +0300 Message-Id: <1507302005-12203-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507302005-12203-1-git-send-email-odpbot@yandex.ru> References: <1507302005-12203-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 225 Subject: [lng-odp] [PATCH v1 2/2] travis: build dpdk for general cpu 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 disable cpu optimisations for code run in Travis env. By default dpdk uses -march=corei7-avx with generates specific instructions and execution fails with: Please check that RTE_MACHINE is set correctly. More info here: https://github.com/Linaro/odp/pull/218 Signed-off-by: Maxim Uvarov --- /** Email created from pull request 225 (muvarov:master_dpdkgeneric) ** https://github.com/Linaro/odp/pull/225 ** Patch: https://github.com/Linaro/odp/pull/225.patch ** Base sha: a63f25ff2994b2df78c24f1f8b63d0e06628eb68 ** Merge commit sha: e5a4683336d35faf8de34981177cc7821b1d30bd **/ .travis.yml | 2 +- scripts/build-pktio-dpdk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7aff2e623..cc7dd404f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,7 +156,7 @@ install: git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk pushd dpdk git log --oneline --decorate - make config T=${TARGET} O=${TARGET} + make config T=${TARGET} O=${TARGET} MACHINE_CFLAGS="" pushd ${TARGET} sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config popd diff --git a/scripts/build-pktio-dpdk b/scripts/build-pktio-dpdk index 6c6830ac0..4ac263618 100755 --- a/scripts/build-pktio-dpdk +++ b/scripts/build-pktio-dpdk @@ -15,7 +15,7 @@ pushd dpdk git log --oneline --decorate #Make and edit DPDK configuration -make config T=${TARGET} O=${TARGET} +make config T=${TARGET} O=${TARGET} MACHINE_CFLAGS="" pushd ${TARGET} #To use I/O without DPDK supported NIC's enable pcap pmd: sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config