From patchwork Fri Jun 30 23:00:14 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: 106780 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2884903qge; Fri, 30 Jun 2017 16:07:35 -0700 (PDT) X-Received: by 10.237.32.202 with SMTP id 68mr31169040qtb.128.1498864055168; Fri, 30 Jun 2017 16:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498864055; cv=none; d=google.com; s=arc-20160816; b=gbpp1XyJZVn95HMIanqxpohbwQcv+QSCgDWj9Z7t004vgZx6lkbY9HX1Vk/GR9C8HP uxcWVG61ddBSIMG8Q60y7EfCtQiPn3JUT7emSNEauRvJbeLHVivP2kNYU0uX1ooUPteu naNMNyGpa5lwy1tZBoIeTVkiX4pRarpvDmtSPAjBgmvvVy96gQXD0zWWHi3YNKGJ8hq8 aAwvzgiZt5WPLIvXogyEV3wlbogJp0YXnyQt3GqTqaKSKEBr9eGUmpqz1PWZOTqvKPIi YOSXHXEwtW8b3YUmt7udZUUwtEaU/0ib4N0zge5c2Hon4ToFHRfsQNmHGCa7rZxH51I0 ZQvg== 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=Tey0G7lQ4Mp68MdeO87XnMFFilyiLl7OrciVUdT1sUk=; b=r0nAlEzz2O5avfWsRrezVoqtwXHoGB+MwukvqlvzJUUkiBzcpD4aK/RgBgnHNC8OC8 BVRrshRz/0XqfKRIEOoAAvfh+aaIv0Q6caNyIr+z+ICQ401+cBHtLqRfIFJcowqoPZRw TBoSKRdbtaiI8wUUywwa+Q35vg20ATgu7k8xU4V31D4hmZRP1JhyTCervduro1Ap2xGm /i6NSPia+kgQ2cBO0Ard3oQGIs3PEmgXIcHQLJqBmmhaS/N3nSjennIsxpvPhi00P8ge Yf6vMyPu6ONIYpOjEVq4kKAAYchGrwxfbA4skJDXOuDrFLcNLQhTKI+Ab71h+uGy5X6s ARLw== 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 k16si8775258qtc.263.2017.06.30.16.07.34; Fri, 30 Jun 2017 16:07:35 -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 E00C762C2D; Fri, 30 Jun 2017 23:07:34 +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,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 8B42362CFE; Fri, 30 Jun 2017 23:01:47 +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 4B58B60C6A; Fri, 30 Jun 2017 23:01:28 +0000 (UTC) Received: from forward1h.cmail.yandex.net (forward1h.cmail.yandex.net [87.250.230.16]) by lists.linaro.org (Postfix) with ESMTPS id 756FC62874 for ; Fri, 30 Jun 2017 23:00:28 +0000 (UTC) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [37.140.190.29]) by forward1h.cmail.yandex.net (Yandex) with ESMTP id F1EE7210C9 for ; Sat, 1 Jul 2017 02:00:26 +0300 (MSK) Received: from smtp4o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp4o.mail.yandex.net (Yandex) with ESMTP id A0DD76C01118 for ; Sat, 1 Jul 2017 02:00:26 +0300 (MSK) Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jomLhvwstF-0P7OVd4a; Sat, 01 Jul 2017 02:00:25 +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: Sat, 1 Jul 2017 02:00:14 +0300 Message-Id: <1498863614-26294-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498863614-26294-1-git-send-email-odpbot@yandex.ru> References: <1498863614-26294-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 45 Subject: [lng-odp] [PATCH v3 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: ceeab69f3af67701adb524c7b9757d19cefb1110 ** Merge commit sha: bc5ee5a9b895a630b180cd264a55c8e4817de750 **/ .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f0567e59..af69c2a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -124,10 +124,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: