From patchwork Sat Jan 20 22:00:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125259 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp445025ljf; Sat, 20 Jan 2018 14:02:42 -0800 (PST) X-Google-Smtp-Source: AH8x2274TGOkWWmq9Lu+EHAscvDbtYDn+mKy8HGIwOqxGpMsE4EVeTY42dbr5fbbRYBPEq6R4cR5 X-Received: by 10.200.48.166 with SMTP id v35mr4148495qta.296.1516485761879; Sat, 20 Jan 2018 14:02:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516485761; cv=none; d=google.com; s=arc-20160816; b=BMOx5RprkRhOAbe598IQUWbVbJzVz5WC/B0LaUOZAWDJL9rygpuhF7bkdH1DgwaJbr ax3vP+8BcYq2w3UbdfG65XuIihG188Yx9Gqsa5ouj45oq2Tkoqy+8RXctTNVTo1FEMMo PhXiS5QQ2XTf8uxVhCqYZSVo/Lb4ComCCz2L4GoyTiq0Wpb1lfH1K+xQaUDz2HuvKb6/ 2Xeery8lOAM5o+32JTv3aAKmECru9MjrBl2o6LoROhLusFR5L82SEyvx+BJ8OwHLHb5f A9n4SM2g75I2v/vm4x5OhZa04ETVSjUky04Olu9Jjsdn1lJzxMOR7hMMl7XUuMHmgqHH qIug== 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=ecE5HBhAmUCadSxWrfZ1i6WvMQZiDkLfLTEQ7QrsTnU=; b=NCAmWTyY+RBnMtESMZuMpBIWjOLTkO/X/RblS5nVtQWhxRPuTQ63ceGhC/o0bNpJ1C 6QxK4YKCY9Hct7s0v4RZc3q2AH2LvyZyukPv/or0zOyVH/vZbc72SaXPQc1BWD0Gtsgy xM9Byelvg7J/l7XyReDR50hOafds2YPv9hIgt3lKcNORCD5aJNk3nfzvWtUTYHbxRbkO ON47tEMOcxVu9jjsNxk5XpfP9u1Q92rWVBOCRiHNyN0dNvaxCInhUQrFcSWamELe5RHK zwBIYrol0yZUYv2zjyjRXIL3os3x7mBwsPqTGMOjFO2D0/vqzOaIOzOSf2CWhAs4Xb5+ LEbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id f57si11408550qtf.153.2018.01.20.14.02.41; Sat, 20 Jan 2018 14:02:41 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 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 89C4D61794; Sat, 20 Jan 2018 22:02:41 +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, 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 AC600617A2; Sat, 20 Jan 2018 22:00:26 +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 CF6F16175B; Sat, 20 Jan 2018 22:00:15 +0000 (UTC) Received: from forward102j.mail.yandex.net (forward102j.mail.yandex.net [5.45.198.243]) by lists.linaro.org (Postfix) with ESMTPS id 4F89A60881 for ; Sat, 20 Jan 2018 22:00:12 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward102j.mail.yandex.net (Yandex) with ESMTP id E4188560142D for ; Sun, 21 Jan 2018 01:00:10 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XyE9la5rRa-0A0qZDjF; Sun, 21 Jan 2018 01:00:10 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id LPmoe42h6Q-0Am8lW9Y; Sun, 21 Jan 2018 01:00:10 +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: Sun, 21 Jan 2018 01:00:06 +0300 Message-Id: <1516485606-24768-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516485606-24768-1-git-send-email-odpbot@yandex.ru> References: <1516485606-24768-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 412 Subject: [lng-odp] [PATCH v1 5/5] travis: move --with-dpdk-path out of DPDK build if 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: Dmitry Eremin-Solenikov 1b285bbd (travis: also use DPDK when doing cross-compile tests) moved adding --with-dpdk-path to EXTRA_CONF to be executed under DPDK-building if. Move it outside of that if, so that DPDK is enabled even if it's prebuilt. Fixes: 1b285bbdd1abbec9853e1bc51bdb6ee02643b1a7 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 412 (lumag:travis-upd) ** https://github.com/Linaro/odp/pull/412 ** Patch: https://github.com/Linaro/odp/pull/412.patch ** Base sha: 5a4502fc6bc53e6503169da3028f456b64811a0b ** Merge commit sha: 3d2664767caeeb88129c63135b083e5a0b25a3a3 **/ .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17a582048..bb73b7e5b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -196,7 +196,8 @@ install: ;; esac - | - if [ -n "$TARGET" -a ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then + if [ -n "$TARGET" ] ; then + if [ ! -f "dpdk/${TARGET}/lib/libdpdk.a" ] ; then git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v${DPDK_VERS} http://dpdk.org/git/dpdk dpdk pushd dpdk git log --oneline --decorate @@ -220,7 +221,8 @@ install: make install T=${TARGET} EXTRA_CFLAGS="-fPIC $DPDK_CFLAGS" CROSS="$DPDK_CROSS" -j $(nproc) rm -r ./doc ./${TARGET}/app ./${TARGET}/build popd - EXTRA_CONF="$EXTRA_CONF --with-dpdk-path=`pwd`/dpdk/${TARGET}" + fi + EXTRA_CONF="$EXTRA_CONF --with-dpdk-path=`pwd`/dpdk/${TARGET}" fi # Netmap pktio