From patchwork Wed Sep 13 15:00:03 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: 112474 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1242412qgf; Wed, 13 Sep 2017 11:17:34 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA/bFwXOzLZREq+Dss3wYIhdqdVfh1W9wcI9PFywse40B1vx7iaardTP7Uv8g7+xujgodtq X-Received: by 10.200.28.117 with SMTP id j50mr26199051qtk.312.1505326654563; Wed, 13 Sep 2017 11:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326654; cv=none; d=google.com; s=arc-20160816; b=yTc2Uh6CuLeOi3jR7os17kP/fJh7NMr0Bu6WbKzuD6ircKljOh8RNtoidky54tlJnj A+u+As+10mcOwHanUd2yakpk6kLJoX5AfcP6V2lIlRWNiMBcEqdaRqnYEwfECnssGTIy XNQwcw1ffjpv6khnZOUs+0BXfE4RBLfzsBkkQnvUOChUwsCQfKENq2q8PMorbj7IiKGC 4tzSkVdzjfF20foCbHY1qOfGrpY6AB4XeDZhj0LNeh+XpCbN0RV0/qlam2g+I7ZUfJco 3EUZ5hwaf/U6j2FijBQMZoZoGFnw/LqcJy77l2aWJWSVyBb8webW+35esHXuzMRicYoO fNHg== 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=gn15l91oa6rO0+wcB3ozGS9hJf3+H/jr9wRgDuoGmN8=; b=vt+fC+h1QhNcrqQC7FEe88kzl2nnDRWS0WvdthKaovbxP2F0JZ2Tx+Zi9G9oaoLhCf BA2IZT+/FVobEgVQg0jWV82wL5/2cQZoWd4OUmN55TuGaPd9QHuK+HgY6Rv5muvPBLW6 6KDBi+LHstqFXmMIs1ox22M5rrzVUTsYji993D5PMbi8yzVNLAP9rDfPjhEKF0FbmDx/ 2vcAvO28ztvwwK23z1ME6OQgAlzYLfg8h4Liun6sTwuL74AXVfAVo5aYvIhOlWcTLRDq IxubDnkUzGJMfyQ8Qf4YHhI4e4z+M5GIphFWIWnLVppUF7O7jX1iBsHd3Uc0wlNf3mrA NbWQ== 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 w199si14331388qka.405.2017.09.13.11.17.34; Wed, 13 Sep 2017 11:17:34 -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 20C686602C; Wed, 13 Sep 2017 18:17: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 4552565C7B; Wed, 13 Sep 2017 15:37:08 +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 AA68265C76; Wed, 13 Sep 2017 15:37:03 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 699F965C7B for ; Wed, 13 Sep 2017 15:00:16 +0000 (UTC) Received: from mxback2j.mail.yandex.net (mxback2j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10b]) by forward102p.mail.yandex.net (Yandex) with ESMTP id C31B343052E2 for ; Wed, 13 Sep 2017 18:00:14 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback2j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id BLvKjcJjMf-0EmacvUu; Wed, 13 Sep 2017 18:00:14 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0EbiWqBh; Wed, 13 Sep 2017 18:00:14 +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: Wed, 13 Sep 2017 18:00:03 +0300 Message-Id: <1505314808-20772-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 1/6] travis: fix powerpc test name 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 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 38586242..329b9195 100644 --- a/.travis.yml +++ b/.travis.yml @@ -218,7 +218,7 @@ jobs: - make -j $(nproc) - stage: test compiler: powerpc-linux-gnu-gcc - env: TEST="powerpc-linux-gnueabihf" CROSS_ARCH="powerpc" + env: TEST="powerpc-linux-gnueabi" CROSS_ARCH="powerpc" install: true script: - ./bootstrap From patchwork Wed Sep 13 15:00:04 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: 112475 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1242915qgf; Wed, 13 Sep 2017 11:18:06 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAFgsuPKf6clfqI5jcOr2AzuEM98EuVkSlm4Rc/hA8ZOJ/d5dmKSQz3p94z7JjB3LNpGiUV X-Received: by 10.55.128.130 with SMTP id b124mr27570238qkd.12.1505326686169; Wed, 13 Sep 2017 11:18:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326686; cv=none; d=google.com; s=arc-20160816; b=zc44ihLHAivWadwLwz91HiTUzIXy6aCyELAFusZPXA6bKjCoteJ/rvMqZmzq2Rpo7G iOnp/iQbkbpH8V/ntk2bRUHsZlu+mNIxcQswcZUgizJd9O//QdY70BZHs3rRxfPugtNa UHwbXLjnYp9aP/71IF5WaelXxxuDSYZJDhwdKWFdu/nUdHSA71OJYuZOtdxNiySxyJTO earCd2fVArgVKDfPJztXPb09GNbnfdyF/oOsG0W4FWRiWA1lv7yEHL1jgfARW9KC1n2L XvUHjCXYNJrF4r62FoXclMZuhc9+ScpJmM5+wnmmzIC0X53Rkiuukb9c1sfssbiGRHGN E+dw== 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=KHpwHDAVTxFDzndpyd9gw2xFLcH2N3k/EYTju+9Yo6A=; b=U6VRPhmTaoRrx8VcuBVZDnZtk4Ol/ypIElU4xPs9Ym5WaAQNEsylmOJHRoIhjU/wgB Ht4Ka1vMU0Ir7xmYe8RMyMrj4gVNuiXiwKWtBFYmtnef/qk9WnBiYTU5tFmxecjxL/6O ejXiugdHnHIU1EKaUo4wvuKI3D4IuHenRLfG1pvJn9xyZFpna0Mb6t3sBy+5IcI+OdpG 5BrLkqf9k4dWm3zGDAiPzPSegf3w1OeNNo3U7gBARoKVh5ZRQx932Afbgck6QHqCGRiT RdTrP0zsd5fk4SdyzgMq6IxbVY4mubHLuPeQoXIHXet6x+MpFVSm8P7C85/qtbd4WbGr BxsQ== 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 i6si14770732qkc.424.2017.09.13.11.18.05; Wed, 13 Sep 2017 11:18:06 -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 BB32266033; Wed, 13 Sep 2017 18:18:05 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, 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 BB39265C7C; Wed, 13 Sep 2017 15:37:16 +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 637D465E4C; Wed, 13 Sep 2017 15:37:10 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 925A065C7C for ; Wed, 13 Sep 2017 15:00:16 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 47E635D81AF8 for ; Wed, 13 Sep 2017 18:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id u9TsjdZfCO-0F4mn5v3; Wed, 13 Sep 2017 18:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0EbCfvqr; Wed, 13 Sep 2017 18:00:14 +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: Wed, 13 Sep 2017 18:00:04 +0300 Message-Id: <1505314808-20772-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 2/6] travis: don't override prefix when cross-compiling 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 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 329b9195..1ca4b5af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,7 +77,7 @@ before_install: BUILD_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_BUILD_GNU_TYPE` ; CROSS_GNU_TYPE=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_GNU_TYPE` ; CROSS_MULTIARCH=`dpkg-architecture -a"$CROSS_ARCH" -qDEB_HOST_MULTIARCH` ; - CROSS="--host="$CROSS_GNU_TYPE" --build="$BUILD_GNU_TYPE" --prefix=/usr --includedir=/usr/include/"$CROSS_MULTIARCH" --libdir=/usr/lib/"$CROSS_MULTIARCH" --libexecdir=/usr/lib/"$CROSS_MULTIARCH"" ; + CROSS="--host="$CROSS_GNU_TYPE" --build="$BUILD_GNU_TYPE"" ; sudo dpkg --add-architecture "$CROSS_ARCH" ; sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty main" ; sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty-updates main" ; From patchwork Wed Sep 13 15:00:05 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: 112476 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1243562qgf; Wed, 13 Sep 2017 11:18:43 -0700 (PDT) X-Google-Smtp-Source: AOwi7QChc2ytOQtyf4JthXx0nwrAFm1ZpVLSobyMd5D/t45fAYaqSpxLKQfTS0DSx+4Ml0KjQauJ X-Received: by 10.55.104.131 with SMTP id d125mr23209863qkc.37.1505326723597; Wed, 13 Sep 2017 11:18:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326723; cv=none; d=google.com; s=arc-20160816; b=WB3SFMsfFuexYZeNJvVaZYFD/dkY4LrCVlQGwNO9XdaNwGkBYf51wuJswv5US5071B ZXEEgfw14ym6tIkgZ3niw9Znq1rWYzo//nXF+rGH9wu63d6MjzgiPhw/1dqNsHZax6YS o7bVmzjcxi94SKNgAMmFcGQK/rto6ZJGQcPys+t2E7TZ/NQHAdT0UnVD1uAb/FUUSoXf 9+eLs3jrsF7MVTzFO7y9YN8hqZ61WKBeWLnBGwxxBkF4J0bGCJjW3936UzghRgmJlSCI IzOH5rQlZwNzjQbMO5bQ09G5jo98mOq+QsdZmG6h5kDO+W+on8qZvn1t/ShmoLUwf1/D AZsg== 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=amxxdAXHf+T+V5jVSBMdwaKz3djF4QdvnVuwfw3/Th4=; b=oe5yfLlp4+2Uxbr+XD5JSB/rP6GrWxbiGaML1eSIcI2NNJcEvPbl+IbILWzcVnYlQA ouIqfNxQEx5HZBdyjMvYf4DXnWiL5oU+B2419T5GOc1s4d8vJIpBaiAlRIiSSQDr5kB7 40Cv8E2FvhzNjzrb3e/oIC0HNM6h7zlhUVVlhhzUFbza8InxdyG9XyUl7NBO+8RByBs7 jVbMQWs5utFKo90k2aarFu/U3aJhWxkuBzeHl3OCVMaQim7Mqgrsm6nDI/X/sTzoyIlb LJDRpsI3Kqv0xqqT96R0DK0o+860cFRcgR7TaS14LuzkQHXEIR2V5EQhk0USOOIPfLYO 88GA== 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 s28si15835527qth.411.2017.09.13.11.18.42; Wed, 13 Sep 2017 11:18:43 -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 3599265DD3; Wed, 13 Sep 2017 18:18:42 +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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 014AA65E59; Wed, 13 Sep 2017 15:37:22 +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 6EECA65E4F; Wed, 13 Sep 2017 15:37:15 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 2CEE965C7D for ; Wed, 13 Sep 2017 15:00:17 +0000 (UTC) Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward105o.mail.yandex.net (Yandex) with ESMTP id D6D43444515A for ; Wed, 13 Sep 2017 18:00:15 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback14j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id O0eIcydPKy-0F5OYV0t; Wed, 13 Sep 2017 18:00:15 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0FbaVNGo; Wed, 13 Sep 2017 18: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: Wed, 13 Sep 2017 18:00:05 +0300 Message-Id: <1505314808-20772-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 3/6] travis: don't use cross-pkg-config 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 Cross-pkg-config rewrites PKG_CONFIG_PATH to static value. Simulate it, but allow further script to expand PKG_CONFIG_PATH value. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ca4b5af..b6e98184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,8 +82,15 @@ before_install: sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty main" ; sudo -E apt-add-repository -y "deb http://ports.ubuntu.com trusty-updates main" ; sudo -E apt-get -y update || true ; - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential gcc-"$CROSS_GNU_TYPE" pkg-config-"$CROSS_GNU_TYPE" ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential ; + if [ "$CROSS_ARCH" = "i386" ] ; + then + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install gcc-multilib ; + else + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install gcc-"$CROSS_GNU_TYPE" ; + fi ; sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" ; + export PKG_CONFIG_PATH=/usr/lib/${CROSS_MULTIARCH}/pkgconfig:/usr/${CROSS_MULTIARCH}/lib/pkgconfig ; fi - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi - ccache -s From patchwork Wed Sep 13 15:00:06 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: 112477 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1244207qgf; Wed, 13 Sep 2017 11:19:23 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCvQxgAKJ9As+JUyqIlm2VSXa56owkEL9fgnmLwoEkFBBLnTEmHrg0W7e6rnJ3LcS7qx5P/ X-Received: by 10.200.39.189 with SMTP id w58mr658557qtw.246.1505326763370; Wed, 13 Sep 2017 11:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326763; cv=none; d=google.com; s=arc-20160816; b=lboX4uFHmsqqqMxr1bv1RhkfAs4TwHnUaTTDSxAIwltSrDxrpPHx0zIryPVTRMQVg7 s5rynWbbBj/xj7WoLNMTH84u1PFr9YSgR7+8jOMkHzLm7B+O04CdkyUfzRvM4kuyCRd7 T2c0QC7k9xnXjEIge5AU/fDtq93MnEnE3eQFRpezCSiliXonezWtonGaCONiK+qwGYAP WG1LEzm2IzDpDdSlqbj/mzBMja9Py2oTXYWE428G6ZYl4TngYMpJt1SERw0TsHv6pzUH vwI9lCqfql1qg50eUD8NjrmrE7ET3uXgBC37Sr1pndmLJF8adQPCj3xztOYN1u0maQwy CxlQ== 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=S55xEdtrcqSvAdI3m5OIceaCA9ZnLF6zJSMvP0cI9J8=; b=HmacISlWTbT7gaSfK2/Rx7xp4klesQZkmiK0qDnCJQxkuSI50cugwuZYdDJnbZn5jD rhxOr7JvMsodt04lAM/hVeuMJnEBuyreDQGryJG1XjFuU9s1LSm7U2/HmXEfD6ySywa7 Nrta7IvZYhqyDDn8lyflEtLJjylMMoNTF0Yb88CTbSydkv8+NM1WKVmRKaC7ZDUI8wQH 2MrwYWJOqP4BhSlh/1HR0yG0M1EnaHTY7dC1jEjl17hMKkAhoe4XT3L8K53hVG6Rm7OX UAnZYBXytNWSk0VIbZTIsMiEaQ1lAhT9y5gtuN/6OTe8Cr3ukdKqM4Udoaukb1E5db2P T1bQ== 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 x77si14958096qkb.192.2017.09.13.11.19.23; Wed, 13 Sep 2017 11:19:23 -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 0E60F65E5A; Wed, 13 Sep 2017 18:19:23 +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 5195765E5C; Wed, 13 Sep 2017 15:37: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 56BE865E58; Wed, 13 Sep 2017 15:37:28 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id E2CE865C7F for ; Wed, 13 Sep 2017 15:00:17 +0000 (UTC) Received: from mxback10o.mail.yandex.net (mxback10o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::24]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 79AB6134543F for ; Wed, 13 Sep 2017 18:00:16 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback10o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id F43KYuqqh5-0GVuwMCV; Wed, 13 Sep 2017 18:00:16 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0Fbu3Hrc; Wed, 13 Sep 2017 18: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: Wed, 13 Sep 2017 18:00:06 +0300 Message-Id: <1505314808-20772-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 4/6] travis: add cross-testing for 32-bit x86 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 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.travis.yml b/.travis.yml index b6e98184..3854378d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -246,6 +246,28 @@ jobs: --enable-helper-linux - make -j $(nproc) - stage: test + compiler: "\"gcc -m32\"" + env: TEST="i686-linux-gnueabi" CROSS_ARCH="i386" + install: true + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug=full + --disable-test-cpp + --enable-helper-linux + - make -j $(nproc) + - stage: test + compiler: "\"clang-3.8 -m32\"" + env: TEST="clang-3.8 i686-linux-gnu" CROSS_ARCH="i386" + install: true + script: + - ./bootstrap + - ./configure --prefix=$HOME/odp-install $CROSS + --enable-debug=full + --disable-test-cpp + --enable-helper-linux + - make -j $(nproc) + - stage: test env: TEST=coverage compiler: gcc script: From patchwork Wed Sep 13 15: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: 112478 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1244830qgf; Wed, 13 Sep 2017 11:19:58 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAE7h0CrKEslHkEEV0T953I1VDBJuj02jl6BPL3loAbcfV9vCX5c27eE2TqGd2NP1G5+Rc1 X-Received: by 10.237.62.200 with SMTP id o8mr27942173qtf.294.1505326797914; Wed, 13 Sep 2017 11:19:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326797; cv=none; d=google.com; s=arc-20160816; b=w8S7cz0x6DmIr1YDgkm5NsA3uecTPlf6rEV/VnUscMR03b8Q0+k6fGC/BgPErsZEGj bt+QCxWlw68xRc/cobD3RwwxeKcjIYWecouWvW5JwLJ0A4OE487Ep+1ZkTRJE9AXVZ1G YpwciGkmKB9JlWZOBz/hfLtq013oWy70cLgIwbSfH9gsNsEz7cFSn7FAQJnezB6Wa/7T PD3o05+nBNimc63e/XXtPoYYRXzX2t4pTrjLE6BNeHaNKr7c8q4wOJAOgJIEU4EHtK1P 8q680+Nzbykr0kIiIcrOWMC8Mjgiae7kf7VEItgdRiWhRvnClZeohKn8N73VX/LKTJHz rUbw== 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=nvKyAh/SIDg1FmFS9U442LwXFa+tLgTnuLzMZglR6oc=; b=YBD1C6nfXuGa87rlPGwuYILbfU+HpQq1eW9bZqBJi9Le7SxDBwmqKT8xPOmscxKKzR 12cuzk+TOsh4YWOMgvrg4xTtbiY0LyquKN2to/89eu/Bze+IMb6sh2TfROv5cADsFgor HfuK5I5qVz+DTkjADptL7z+hr8+eDZv6QjyTNMLVEqMslhJLaeAvRODo2mkia/P2p2sy Ro348b+to5/cINOwqwFkZRekcFXEhrv5WJmbHO4Pn8TZLLuGtEUg8el1vii8NFyTSOzS czomaIHf6UGcXwRDma+fnEgbEQ4zMYHeBasix/FlkHjlZV4rg63fF7iMf35Um8YEhtCc TKtA== 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 o4si3539043qkf.524.2017.09.13.11.19.57; Wed, 13 Sep 2017 11:19:57 -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 97BE665E5E; Wed, 13 Sep 2017 18:19:57 +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 CA2BE65C80; Wed, 13 Sep 2017 15:37:52 +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 8BB9F65C79; Wed, 13 Sep 2017 15:37:47 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id 5AF6165C80 for ; Wed, 13 Sep 2017 15:00:18 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 162335105E6F for ; Wed, 13 Sep 2017 18:00:17 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id YMAloOhwdq-0G1CFjv8; Wed, 13 Sep 2017 18:00:17 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0GbaAcu9; Wed, 13 Sep 2017 18:00:16 +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: Wed, 13 Sep 2017 18:00:07 +0300 Message-Id: <1505314808-20772-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 5/6] travis: enable cpp test during cross-compilation 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 Install proper packages to enable cross-testing of linking C++ apps with ODP. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3854378d..06983f8e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,13 +85,20 @@ before_install: sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install build-essential ; if [ "$CROSS_ARCH" = "i386" ] ; then - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install gcc-multilib ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-multilib ; else - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install gcc-"$CROSS_GNU_TYPE" ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install g++-"$CROSS_GNU_TYPE" ; fi ; - sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" ; + sudo -E apt-get -y --no-install-suggests --no-install-recommends --force-yes install libc6-dev:"$CROSS_ARCH" libssl-dev:"$CROSS_ARCH" zlib1g-dev:"$CROSS_ARCH" libconfig-dev:"$CROSS_ARCH" libstdc++-4.8-dev:"$CROSS_ARCH"; export PKG_CONFIG_PATH=/usr/lib/${CROSS_MULTIARCH}/pkgconfig:/usr/${CROSS_MULTIARCH}/lib/pkgconfig ; fi + - if [ "${CC#clang}" != "${CC}" ] ; + then + export CXX="${CC/clang/clang++}"; + elif [ "$CROSS_ARCH" = "i386" ] ; + then + export CXX="g++ -m32" ; + fi - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi - ccache -s # Install cunit for the validation tests because distro version is too old and fails C99 compile @@ -187,7 +194,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -198,7 +204,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -209,7 +214,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -220,7 +224,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -231,7 +234,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -242,7 +244,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -253,7 +254,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test @@ -264,7 +264,6 @@ jobs: - ./bootstrap - ./configure --prefix=$HOME/odp-install $CROSS --enable-debug=full - --disable-test-cpp --enable-helper-linux - make -j $(nproc) - stage: test From patchwork Wed Sep 13 15:00:08 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: 112479 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1245593qgf; Wed, 13 Sep 2017 11:20:41 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC1JunZ0r3HzK7cLVAhwCFTHl+DaAcEXg/EMfo0wO4ti/VDqTZlLuT+O5r6lmJZk7hvz2cl X-Received: by 10.55.43.234 with SMTP id r103mr26352415qkr.334.1505326841652; Wed, 13 Sep 2017 11:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505326841; cv=none; d=google.com; s=arc-20160816; b=T3kN0QV5Tdv3c4iyLzBhycycLRVxEBNd1wcvECJkDGDeLkAquwSimr8pds3MYj/3f/ 7uRRgHXa1UnZiNqz0GZMOmA0KNI5czYPOpP16lKGK4+iPJPt8B+lU//hrr0/KXvLeNb0 +ulrfJC+ZHtT1UpTjkTSRuwLcT2ygEjmSUGOTdQr4ZexHKZbjhqUMYkfYu7dtDveakqB F4XryyUZy/zQhZjrmn5yPD6gmP9bzjKZsDcaXrPaWBsaHGGN/IhPM7yxqc7Zo3BvdFbm aT0rSLHdD4EGxP0KnabdfsBjgDCuX1ndtlpH0dZ0hR9GXC8SDho5ljKwNMLaCKOo80KO Tekg== 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=MoD3rRogWg8OO4R6Nf6Ld+M5YGWMNMqspGNTS+zRMww=; b=LZuInigQA+wqUWPFQ6oY+aKkK5f77oYFh0R5iGOgffTeFnj2qCkzW9BWLnxiehdGxy GenfJiIAhM7pLftut+pIu4bMc6l4/kEIa2m4cseghZ20W81rPtlDa4yloiXvur9oLwjR LHOO4SMq6sBoiI3J7ZSWJMtFINzWC7Zn7FZ1Nxq5Ipq04Ch+na9ArKb05k08XAqWL12y pRnDq1QAaXgxDaDqFh/47QJHjoUV/5gUC1dWZENZGtycPTNYI/YPu8Ls3WONkVfQ70y1 /F1Phm/OUKdLUPmiF1baBMxBVbLuFNXZtHJhD4oaynANf0G1PlQc6LjNWhdeKaRMhQcU LUGg== 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 q25si15637355qtj.171.2017.09.13.11.20.41; Wed, 13 Sep 2017 11:20:41 -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 4116666039; Wed, 13 Sep 2017 18:20:41 +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 45EFA65C7E; Wed, 13 Sep 2017 15:38:02 +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 673E465BF9; Wed, 13 Sep 2017 15:37:56 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 9ABE665C81 for ; Wed, 13 Sep 2017 15:00:18 +0000 (UTC) Received: from mxback7o.mail.yandex.net (mxback7o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::21]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 983D64305E6C for ; Wed, 13 Sep 2017 18:00:17 +0300 (MSK) Received: from smtp2p.mail.yandex.net (smtp2p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:7]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id yZjqqrtKQf-0HfmoXaL; Wed, 13 Sep 2017 18:00:17 +0300 Received: by smtp2p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id ezxb9lWXfI-0HbuUIuG; Wed, 13 Sep 2017 18:00:17 +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: Wed, 13 Sep 2017 18:00:08 +0300 Message-Id: <1505314808-20772-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> References: <1505314808-20772-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v3 6/6] travis: merge native and cross-compilation scripts 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 Merge native and cross-compilation scripts. This allows us to simplify Travis CI configuration and to enable e.g. testing of out-of-tree compilation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 175 (lumag:build-x86) ** https://github.com/Linaro/odp/pull/175 ** Patch: https://github.com/Linaro/odp/pull/175.patch ** Base sha: fb3f36cec108ce9c55241d9f0e66d4832a552b8a ** Merge commit sha: 6790672507c1c5394fa99f5fb5f87e6d508a693c **/ .travis.yml | 86 ++++++++++++++++--------------------------------------------- 1 file changed, 22 insertions(+), 64 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06983f8e..02b0f469 100644 --- a/.travis.yml +++ b/.travis.yml @@ -161,27 +161,33 @@ install: fi script: + - if [ -z "$CROSS_ARCH" ] ; then + EXTRA_CONF="--with-dpdk-path=`pwd`/dpdk/${TARGET} --with-netmap-path=`pwd`/netmap" ; + fi - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-user-guides - --with-dpdk-path=`pwd`/dpdk/${TARGET} - --with-netmap-path=`pwd`/netmap - $CONF --enable-debug=full --enable-helper-linux + $CROSS $EXTRA_CONF $CONF - make -j $(nproc) - mkdir /dev/shm/odp - - sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check + - if [ -z "$CROSS_ARCH" ] ; then + sudo LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH" ODP_SHM_DIR=/dev/shm/odp make check ; + fi - make install - echo "Checking linking and run from install..." - pushd $HOME - echo "Dynamic link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` - - LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_dynamic `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux` - echo "Static link.." - - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux --static` -static - - ./odp_hello_inst + - ${CC} ${OLDPWD}/example/hello/odp_hello.c -o odp_hello_inst_static `PKG_CONFIG_PATH=${HOME}/odp-install/lib/pkgconfig:${PKG_CONFIG_PATH} pkg-config --cflags --libs libodp-linux --static` -static + - if [ -z "$CROSS_ARCH" ] ; then + LD_LIBRARY_PATH="${HOME}/odp-install/lib:$LD_LIBRARY_PATH" ./odp_hello_inst ; + ./odp_hello_inst_static ; + fi + - popd - ccache -s jobs: @@ -189,83 +195,35 @@ jobs: - stage: test compiler: aarch64-linux-gnu-gcc env: TEST="aarch64-linux-gnu" CROSS_ARCH="arm64" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: "\"clang-3.8 --target=aarch64-linux-gnu\"" env: TEST="clang-3.8 aarch64-linux-gnu" CROSS_ARCH="arm64" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: arm-linux-gnueabihf-gcc env: TEST="arm-linux-gnueabihf" CROSS_ARCH="armhf" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: "\"clang-3.8 --target=arm-linux-gnueabihf\"" env: TEST="clang-3.8 arm-linux-gnueabihf" CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: powerpc-linux-gnu-gcc env: TEST="powerpc-linux-gnueabi" CROSS_ARCH="powerpc" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: "\"clang-3.8 --target=powerpc-linux-gnu\"" env: TEST="clang-3.8 powerpc-linux-gnu" CROSS_ARCH="powerpc" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: "\"gcc -m32\"" env: TEST="i686-linux-gnueabi" CROSS_ARCH="i386" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test compiler: "\"clang-3.8 -m32\"" env: TEST="clang-3.8 i686-linux-gnu" CROSS_ARCH="i386" - install: true - script: - - ./bootstrap - - ./configure --prefix=$HOME/odp-install $CROSS - --enable-debug=full - --enable-helper-linux - - make -j $(nproc) + install: gem install asciidoctor - stage: test env: TEST=coverage compiler: gcc