From patchwork Fri Jun 2 14:00:07 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: 101272 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp414884qge; Fri, 2 Jun 2017 07:07:56 -0700 (PDT) X-Received: by 10.200.48.80 with SMTP id g16mr8831675qte.78.1496412476014; Fri, 02 Jun 2017 07:07:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496412476; cv=none; d=google.com; s=arc-20160816; b=R51BEpIHmlX0ote7dK+d7w7gow5ofdu+S8Jx2CHDKq2cia4fVN7vV71pz4AI1QqhNj urvu+Nk3sBajOnkuD0RVyzuOCNdnKzjRv17j/DXLRaAqSnHShLKWZ6p2Rd1RHlEw1gpD gV3q5wp9PGBIWN6lFjaYE55iVj5QxP1953h/+cnsvgiRs7Q/Sqm3xq+4Re21Cd9apVg7 g//q7kDNbvmUCW4cMP+fvF7MW2glyj0gYTxUBi5wEV9IUcaNJC/htsjktGz3CU9Ly4Td m0deTlfF7oNwscBlDHToShx5+8jTHFc/22BpZTo5x2vkh1Vp35dyt7TzG/zolgEByGd8 f7/w== 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=v1WhytxCILSEvhoVlZ7/Q68wjtgzCt/i1cWsPngiaE0=; b=YRtpQUIjnJSNSsbSoEC0DIa3JGSgUevGrIditsIbvrdNF4GgmymjQS3oR9bu+iT4Sq rbYiJMU38UufeGM3N4taoRCPGHvDZkBguWUGYPNR0jXa0mMbW/K2YCTrToVOgBLSGqk/ n8b87OmpVupaIjPGoxvqqYoednjyXxj3tAL975vt6PmykvwaOE99ONTZwYuBWMz9njdh 4JaWA/I/8eFUITfOhor/jh4D0YYYOi8WVcLEDpaDZ0iW3N/AkhVn9JqNaietkLVy1gtI /TkT7oZwJdm7n9fS+rSkx+dxo6qvlYVC7y+lkArePCNg2sKFKq+3EQWRbroBotBEVLi9 yw4g== 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 y52si23561820qty.173.2017.06.02.07.07.55; Fri, 02 Jun 2017 07:07:56 -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 A5C0460EEC; Fri, 2 Jun 2017 14:07:55 +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,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 AED5260ED1; Fri, 2 Jun 2017 14:01:43 +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 CB808606A6; Fri, 2 Jun 2017 14:01:09 +0000 (UTC) Received: from forward4m.cmail.yandex.net (forward4m.cmail.yandex.net [5.255.216.22]) by lists.linaro.org (Postfix) with ESMTPS id 33D3260E8A for ; Fri, 2 Jun 2017 14:00:25 +0000 (UTC) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [37.140.190.27]) by forward4m.cmail.yandex.net (Yandex) with ESMTP id A6DCB2187D for ; Fri, 2 Jun 2017 17:00:23 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 6D41E5081176 for ; Fri, 2 Jun 2017 17:00:21 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cZMbbMEits-0LoqoFeT; Fri, 02 Jun 2017 17:00:21 +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: Fri, 2 Jun 2017 17:00:07 +0300 Message-Id: <1496412007-23455-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1496412007-23455-1-git-send-email-odpbot@yandex.ru> References: <1496412007-23455-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 45 Subject: [lng-odp] [PATCH v1 9/9] travis: use pkg-config to discover ODP flags 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 Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 45 (lumag:m4) ** https://github.com/Linaro/odp/pull/45 ** Patch: https://github.com/Linaro/odp/pull/45.patch ** Base sha: e6be64e01589f1aa335ea178e8314bf35ad34847 ** Merge commit sha: 6f335855aeda94f83296fb7e0d08b293ea4121db **/ .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a7ad2a74..f63e421b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -115,10 +115,10 @@ script: - echo "Checking linking and run from install..." - pushd $HOME - echo "Dynamic link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap -ldl + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux` - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst - echo "Static link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst -I${HOME}/odp-install/include -L${HOME}/odp-install/lib -lodp-linux -L${OLDPWD}/dpdk/x86_64-native-linuxapp-gcc/lib -lrt -ldpdk -lpthread -lcrypto -lpcap -ldl -static + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig pkg-config --cflags --libs libodp-linux --static` -static - ./odp_hello_inst jobs: