From patchwork Fri Oct 6 17: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: 115107 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp2015785qgn; Fri, 6 Oct 2017 10:02:34 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBTQYQCOE8V+cMplizay65RMtf0kyKYJUxj/MAQOlktMHN02A8fARtW1xo6JS/lx8IMWp1J X-Received: by 10.36.116.9 with SMTP id o9mr3385319itc.132.1507309354622; Fri, 06 Oct 2017 10:02:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507309354; cv=none; d=google.com; s=arc-20160816; b=RlsyNk6JhaTgze5WCuu6KZEYoQYfXp6J4BjKZoTE7vlZ/XRUkmIBzvMXMd5wiCIjti hWzFcQydiVVrTlnNJp/EOn+imgNaifHnDeQWlzRzvcaVWSoro/5yWxUIYfHo8SGLZzyZ ZvCA/KGAvODPk5E/qQXN89GtnM3l52a9GiI1th6Qiei6JeUD0EZp5kRNbN5JsXT79lv8 NQx1M7vHZQsfUWvsasHhW+2aQLnF8UZpNf76ZkZpuGjO0V1lhtlINvEF5FPYsVLTMDHz zzV1QRJXRG0Gon5uItA0lbtF5YOxdGlVRAeUbFywkpoJg5/YjErw6rZxzjOB4eaqpJZk /Byg== 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=SRacv+YF7N+xZCcuhXKVXR1LPdgTcZI2BA2owe1SZH4=; b=Oq4swKOtmAwtm8Ke/wxA5yHGrgOJf3qtEpQr+Pznc8YDfIFuUUSMXBYCA0TiGvAikb OB2Av2bN6WqyA/1nac+iU1mZKs/a5FwNu5lQJxkeXV9dRQ2xAU4jKV6e72Ap/HWZf6Ew nrr8krnNbO5H+E4UUzZWDQlP0f8VdOxpO7+4jfq8oWcbQl9nOh726f0JLIN9Bo8L6nC8 6dvGq8KRHpINpOA2xz9JFcjoIL7gQjmd+Z52sFkClLUNa/BX3875fVgdhTYKkcShZIvI W+7eoqv1lIqR8WV/KzRf0k6Z+YSEu+GBI8msXE83opFHE1ONZXqk1Xd2oKocl5SXBQsy ariQ== 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 z2si1657165iti.11.2017.10.06.10.02.28; Fri, 06 Oct 2017 10:02:34 -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 9839965BBE; Fri, 6 Oct 2017 17:02:28 +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 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 E79F261D9A; Fri, 6 Oct 2017 17:00:41 +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 676F160996; Fri, 6 Oct 2017 17:00:26 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 3277160C92 for ; Fri, 6 Oct 2017 17:00:19 +0000 (UTC) Received: from mxback16j.mail.yandex.net (mxback16j.mail.yandex.net [IPv6:2a02:6b8:0:1619::92]) by forward101o.mail.yandex.net (Yandex) with ESMTP id C88ED13445E8 for ; Fri, 6 Oct 2017 20:00:17 +0300 (MSK) Received: from smtp4p.mail.yandex.net (smtp4p.mail.yandex.net [2a02:6b8:0:1402::15:6]) by mxback16j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id bCIT0LVfHH-0HTSadob; Fri, 06 Oct 2017 20:00:17 +0300 Received: by smtp4p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2ANbwlM2pN-0Hr0qdsO; Fri, 06 Oct 2017 20:00:17 +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 20:00:06 +0300 Message-Id: <1507309206-28423-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1507309206-28423-1-git-send-email-odpbot@yandex.ru> References: <1507309206-28423-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 225 Subject: [lng-odp] [PATCH v2 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. That is caused by buggy dpdk makefile: MACHINE_CFLAGS = -march=native SSE42_SUPPORT=$(shell $(CC) -march=native -dM -E - /dev/null) ifneq ($(CPU_SSE42_SUPPORT),) MACHINE_CFLAGS = -march=corei7 endif endif 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: 797e6fc884121eb81a98c494145466706013b66f **/ .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..4bb7537df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -160,7 +160,7 @@ install: pushd ${TARGET} sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config popd - make install T=${TARGET} EXTRA_CFLAGS="-fPIC" + make install T=${TARGET} EXTRA_CFLAGS="-fPIC" MACHINE_CFLAGS="" rm -r ./doc ./${TARGET}/app ./${TARGET}/build popd fi diff --git a/scripts/build-pktio-dpdk b/scripts/build-pktio-dpdk index 6c6830ac0..e12bf576d 100755 --- a/scripts/build-pktio-dpdk +++ b/scripts/build-pktio-dpdk @@ -22,7 +22,7 @@ sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config popd #Build DPDK -make install T=${TARGET} EXTRA_CFLAGS="-fPIC" +make install T=${TARGET} EXTRA_CFLAGS="-fPIC" MACHINE_CFLAGS="" popd #Build ODP