From patchwork Sat Jul 1 06:00:23 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: 106790 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp3158043qge; Fri, 30 Jun 2017 23:07:59 -0700 (PDT) X-Received: by 10.55.150.134 with SMTP id y128mr29138822qkd.29.1498889279637; Fri, 30 Jun 2017 23:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498889279; cv=none; d=google.com; s=arc-20160816; b=nh78zfWVKNpdTCciTci5OImB91cGKXe3usLtWll0MHRaBBL66Ag/jJou945D+PrDrs NNPDBVw3inECcEwL3AxEiPSXlXkuUaJcqiX7haOEM7qnF5aQb+iA2Z6r2QXSpCThHujU VjOok0aBeEkIHA37xS6qI0STXtUGvRzlLdj67NRVI6H17mdEjst0SptALm0S6xFjM0Se eNF3M5YMxt3v4RWg81HAqlPFfq9C9XDPwuS3cfVwPBr7GH2vxLKVwtKrvsFXs0+Mr5Bb wqE8dg1JoFrM3EeYkLXJ+eebMmQE2bv2AnAuwMSco76cbrAcrg7Uo7UBouSx4aBfyXLh O/CA== 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=Z92xqxr1iqC9SkXSu55a0TWIrZbXWdu2huf7hVFlH8I=; b=vCBQIx5IE6qdT4H5BTB0YuJ+SBSX8Z2yaisy6tboUMhoGOXvtHbx2cQ38b60/tkaq1 61OPOV+P4rfuVNK1SYnNm8/P7pSeKZJ5/hLTKWrtHOd7x1hEwlpRwlDQZP7JxasFDR6K 1XQDtTKFOSnr6CsuiMg8b5/eKWkb8PcBYvB1WDmGmdUZDynOwol5Yy2udLGXQkwgdXlw hvhR/MueqwdkBF+hbAT79sQwEQLj9+XtP8dNdQXknUInOXJj9fmYuaVZpC/N82U5Byps luiX1tS+kk/zeNjhkHZ/7LXcz+LJM1r+hRguLDMggnHvt0mr+oO25SceZ7HBL7t+eH60 1qGQ== 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 t18si9325635qke.198.2017.06.30.23.07.59; Fri, 30 Jun 2017 23:07:59 -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 57E6160CFC; Sat, 1 Jul 2017 06:07:59 +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 03389622F0; Sat, 1 Jul 2017 06:01:35 +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 4FD1E62D99; Sat, 1 Jul 2017 06:01:30 +0000 (UTC) Received: from forward1h.cmail.yandex.net (forward1h.cmail.yandex.net [87.250.230.16]) by lists.linaro.org (Postfix) with ESMTPS id 93B8A622F0 for ; Sat, 1 Jul 2017 06:00:39 +0000 (UTC) Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [IPv6:2a02:6b8:0:2519::125]) by forward1h.cmail.yandex.net (Yandex) with ESMTP id 12C5B20D7F for ; Sat, 1 Jul 2017 09:00:38 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id E83122840F44 for ; Sat, 1 Jul 2017 09:00:37 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id uZqkAfj1Oz-0bDGmu5u; Sat, 01 Jul 2017 09:00:37 +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 09:00:23 +0300 Message-Id: <1498888823-4065-10-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498888823-4065-1-git-send-email-odpbot@yandex.ru> References: <1498888823-4065-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 45 Subject: [lng-odp] [PATCH v4 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: eee6b6add9a03184bf2f3198f07e983bb88c0e0a **/ .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: