From patchwork Mon Aug 27 23:00:07 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: 145226 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp492397ljw; Mon, 27 Aug 2018 16:06:47 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdb7PvXWLGDWs3GuRGvdKGnCmdkhyYmybLHXuv60ZyFtfDs3bO6ABabcnPcvikGIHoFyD6MM X-Received: by 2002:a37:b12:: with SMTP id 18-v6mr4568281qkl.167.1535411207866; Mon, 27 Aug 2018 16:06:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535411207; cv=none; d=google.com; s=arc-20160816; b=D46MOee/GTVQwkmX0xaBvCblKIqlZeODKtyzFAZfGPNNCRhBKmxPpje/yB11mqwpkL Oz/KMoNFskabYndSgzdQVJ/s903ad9jEezQmcX+ikvhcS4adCIdEAjsXlYIvox+hLYw1 6qKLX+N0h0bHARSZa9rNMC9UjF3TIx5GluNOu88PIVD6maYI+trb7mZ28AgdL7CZsXmk bFEpvMI48s8N6YgKpMnbxJyFPWLQPjwyjJz3hpW67G/eU8jSzObOMXIj1jGbq8BnUbMw z0gmOAmwF8dkd0VHq491ap48Zhk4WJPiJAw0FReP9RFjq+SKUgrv8bC/By6ExIolXCs/ 1UPw== 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=CiYYR8KqPpQCTTnqV1oocS9FwboepG66hNGkoQFrHSM=; b=IgIliDSZlRpiesqGtAZPXrdstsg9nhpS9GZ1DOIi5VWz8kfVge29wikf4vQJX6EqqB r1cRusTyf5SDKKQYvnIFKHtEH755+KAf6wmE+xsUEvZ0if/3rEuEXRPNlVt5sKB/NLjb mtf+R1wpyi3cuVSGwIUBHMt8gImN1jBkJ1hKLz1ZYuVlGMSv8pfeDzLoq7yLKr/nKrme T25bfZdK8YBKO4RwjWt8GkFhd09Oxbt97ZUBI5iQdQH+IGs9BewHrZxhpeabjYecEnWT uAGLcL5GwILG/nMP4FUl1E58soZ6fhF4UeYx8xkPjbEGzCFDv5fCqmWE6MrdfYy2HItU uU8g== 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 a41-v6si297264qvd.3.2018.08.27.16.06.47; Mon, 27 Aug 2018 16:06:47 -0700 (PDT) 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 79A7768669; Mon, 27 Aug 2018 23:06:47 +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=-3.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW 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 5C0E668665; Mon, 27 Aug 2018 23:01:14 +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 096E968662; Mon, 27 Aug 2018 23:01:00 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 3BB0568617 for ; Mon, 27 Aug 2018 23:00:18 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward100o.mail.yandex.net (Yandex) with ESMTP id CE80E2A24FBB for ; Tue, 28 Aug 2018 02:00:16 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id nDT4p1h8G3-0GUSV06P; Tue, 28 Aug 2018 02:00:16 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rCYiipQZbT-0FDamVQG; Tue, 28 Aug 2018 02:00:15 +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: Mon, 27 Aug 2018 23:00:07 +0000 Message-Id: <1535410807-29034-9-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> References: <1535410807-29034-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 681 Subject: [lng-odp] [PATCH v5 8/8] ci: do compile-after-install test 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 681 (lumag:travis-xenial) ** https://github.com/Linaro/odp/pull/681 ** Patch: https://github.com/Linaro/odp/pull/681.patch ** Base sha: 6ce60cac1fea6d65803740f5f9b6627abf6814b3 ** Merge commit sha: 8c5d835ef3fbc6ab78503945fef582f7c60ac2c9 **/ scripts/ci/build.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/ci/build.sh b/scripts/ci/build.sh index 6fca1cc28..995c797b2 100755 --- a/scripts/ci/build.sh +++ b/scripts/ci/build.sh @@ -6,6 +6,17 @@ cd "$(dirname "$0")"/../.. ./configure \ --host=${TARGET_ARCH} --build=x86_64-linux-gnu \ --enable-dpdk \ + --prefix=/opt/odp \ ${CONF} make -j 8 + +make install + +pushd ${HOME} +${CC} ${CFLAGS} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_dynamic `PKG_CONFIG_PATH=/opt/odp/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` +if [ -z "$TARGET_ARCH" ] +then + LD_LIBRARY_PATH="/opt/odp/lib:$LD_LIBRARY_PATH" ./odp_hello_inst_dynamic +fi +popd