From patchwork Tue Jun 13 22: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: 105438 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp12820qgd; Tue, 13 Jun 2017 15:07:04 -0700 (PDT) X-Received: by 10.233.220.129 with SMTP id q123mr2939498qkf.240.1497391624660; Tue, 13 Jun 2017 15:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497391624; cv=none; d=google.com; s=arc-20160816; b=LVXVqL5dRN5XXAKRu7PnhkMMUG7igW36YaD2uoVDSZKsN+YxdvfMbzVnXR5u+Twz6G Q5fIWM8oy9mPiWdbJjV6gEtMHXHvoorUu9PX9M0c9rO07oEzqhmgyDYzCaJ4fJ/5PF96 +qkSJJgYKeFPe7c2FG81/upVi0Kdu4LWM4fkeikhI69rYDnc/syVLlk1rYmtKU/tMnlo 0iL/6fBoDc225IaDJntxdkg2jUKI14bn2PF+vvU4MW7mffAGy/+Z1F0S0RmIi3dhJfHp Cbx6wtFuRCBh+6J/qotZfmPQub0pBTmIgPDaKJRSss+zxrYb8JP+y7g/H8WbspDjMq6Z wmlg== 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=Fn+ESWzhwAPNYnm7XT66S0+sajDJJtZU/wjpxrKY5ts=; b=o5ChmIvp5cdQJRooD+DVnab1vJSYmrsWg6ZQJ5HAVY+I/fIBo2v+bhjBzk5QVxE62a Cl6Zg8VfIk1NBkqBtC5Y6Etg/Upw6SBe4rDyaday9fBGWnaeziiZrXBQRaeJtM8g+Z4+ mxb7d/Y/Bdc4MeK9Z/H87d0DLT7vi0hJq4cdmhUGL48jriFWkCKVaM9GxXgOx+it1B4f cT9EgmAa+ayFnMmeVdC3ssxE5lFhq/lRrT0E551BBAhUyV/9HCh5X38mMIu1mJ31zQN+ 6kTDKu8X5N2QTyre9Ofdv6PVDNgfS0C5t1i1KtcgSTa3ZOPKwADr4Sbk5SayRHzkc425 AetA== 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 r56si1375036qtb.29.2017.06.13.15.07.04; Tue, 13 Jun 2017 15:07:04 -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 3E0BB60A44; Tue, 13 Jun 2017 22:07:04 +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 E7BD460C13; Tue, 13 Jun 2017 22:01:04 +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 A383660BF0; Tue, 13 Jun 2017 22:00:53 +0000 (UTC) Received: from forward4j.cmail.yandex.net (forward4j.cmail.yandex.net [5.255.227.22]) by lists.linaro.org (Postfix) with ESMTPS id 48ECC60A4A for ; Tue, 13 Jun 2017 22:00:21 +0000 (UTC) Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward4j.cmail.yandex.net (Yandex) with ESMTP id 0F5D521023 for ; Wed, 14 Jun 2017 01:00:20 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id E4BD02840F14 for ; Wed, 14 Jun 2017 01:00:19 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bQG4KXwTEl-0JCeHDKV; Wed, 14 Jun 2017 01:00:19 +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: Wed, 14 Jun 2017 01:00:07 +0300 Message-Id: <1497391207-13288-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497391207-13288-1-git-send-email-odpbot@yandex.ru> References: <1497391207-13288-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 45 Subject: [lng-odp] [PATCH v2 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: 7cf390d11e69f6b677e6fbfd6414944737406fc3 ** Merge commit sha: 3808f2b5af9d034f6157eb2c7eec543ee8055fbf **/ .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 669695d8..650bb508 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: