From patchwork Thu Sep 14 11:00:01 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: 112529 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp521015edb; Thu, 14 Sep 2017 04:04:00 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCvnoV4+jBgjQafZZELfsgmKqlG/jQiiukyxwtickGE+1DMaQCGKzip8Tmj4BSyvdpHgCjO X-Received: by 10.200.2.147 with SMTP id p19mr28754485qtg.242.1505387040797; Thu, 14 Sep 2017 04:04:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505387040; cv=none; d=google.com; s=arc-20160816; b=xctQmlz7R5w77khYvS7yC0bDlrqvW4I6yP86qe7u+WVgNbwmJ6AFriX+Lzy0r3gUor RdYX6jL4Be8P8+Gs4hud2BLv6JjxEt98ilN+yJREKGpgolJDBkbMTyNSZVgMxsHKat5B RVZDSbMOTMF6Q8dgPs4dsqzNtTZlJurDeU4NTaqlNx/FEB7yJr3fKuemws/WNFqg1rjC xCUq6cqEBg7wfA+Ar7muDu+ERx9YuqbQcrBSQfD8M4SxhsutwkfQICaQb1fZg2oeZ6NK oDMiIJ2r0Tvz99iYsPgqgTJIsSftDn1lshsIFKl0Mo3ct4XWn044ns1zaQy+GFp9W8E0 NnKg== 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=wNuHQwiE8iP3gqrO66V3JVyr030lQeEC20pn62NFx0w=; b=rXKcIST+qjwW0YCpwEKndpxvawpDGMUYbOHlxCGK0XgBWgZkyAx1rwUMu0xOOTvXS0 bwzY5z6eTCg050cNFIb6jTel8JxlmSXMauJYdb0d0pBR7jns6Q6gGK54KMZuzpR4Bbxp iZAa2M0vF/KoA11OFotdhqw1uN6aiC9hxX2vPytSs25+9hfuoNdGeZHSYNJXsNP88Epf mg4f9H3J7zIiLr23yLIbfTAJuIcErTITgqwX1NpqF4zfbIHn+Uvm9LMhYuKT9H0sgqPS M5nbZyAd80KHvHPJoJ1La9adfAzJ/vzJiAnarA2QYoJJDemy0DOMk9SPVAv+zER9uI5F NJgA== 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 o62si9700599qte.358.2017.09.14.04.04.00; Thu, 14 Sep 2017 04:04:00 -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 7C56362CFE; Thu, 14 Sep 2017 11:04:00 +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 4A1D560B14; Thu, 14 Sep 2017 11:00: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 311B360813; Thu, 14 Sep 2017 11:00:23 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 5CACE609B3 for ; Thu, 14 Sep 2017 11:00:14 +0000 (UTC) Received: from mxback11g.mail.yandex.net (mxback11g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:90]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 1A49012457AB for ; Thu, 14 Sep 2017 14:00:13 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback11g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 16OFfWNTDH-0D00iOTc; Thu, 14 Sep 2017 14:00:13 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0COKtNH1; Thu, 14 Sep 2017 14:00:12 +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: Thu, 14 Sep 2017 14:00:01 +0300 Message-Id: <1505386807-2986-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 1/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .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 Thu Sep 14 11:00:02 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: 112527 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp519954edb; Thu, 14 Sep 2017 04:02:59 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC61JFxPZ2p5U3IxoGh8tmzQpAkpyrW8zCyVzgdhydZMboD25BHB4afc+uJcW8n3M9swT8E X-Received: by 10.200.19.73 with SMTP id f9mr20364422qtj.236.1505386841892; Thu, 14 Sep 2017 04:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505386841; cv=none; d=google.com; s=arc-20160816; b=RyaookZY/2p3hN2OrYABFs9GOsMGbsaNshKtloStXLG6IskXVB5BiqoVZbr3bmFdie h/SRjffVz2Ri1A88f4HYUIxLYK339AXuo+TyaXkkyJDYE9eYGhI+FDdYWXLZHP63jU6o KAxmH2gnPI1M2NZ62oEA6sZ7+9g1HnOC6a30o6FtwqyjGrkSRisV8cP8FB/3iMgoIruQ 7dfraJJ6EzAB0eca3gCNfDtfJBhUwDzgwY1uZphnJRNIZaQruo/IkdzJZ6TTEeKjlp0F 4kXmDkipf2vLM/wY/8RiuR30vJKS/9o1Yzfoi6tlfGTswvJJGiJoPnk+HEJ5zbsHrTX2 WYvA== 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=8sfMiFAUqlZlvcd1s5AlYWQJgfkXOGzHLmpLRQ6pQVk=; b=KItq5HaGKSga4Xy6EUMtUdG8mISoj1rSa90d/2F23VJI/NL+/H/B9e1mO4JrP8EsBf rEwQ/yWRmTJvFZk5Egfp0kvFOmUiuIns8HKZCqX00DOtR8L5x6a18gvOOvdrmeQcSJ2j tcqnFdfc3sYQ8pZm6tBfz3juVatqhMQ9Xlq4gN+5aKGecEwIYZ44DbmzR9D3RvCE/zR5 JM2pOmB9xE2HwEUxWaWbC/gnHYHerCb/weNNyC2nxDUlqtLo1yLAvRdahxYpKQp7DNhl +hxGFWAn7LeJ1lhB06zRK3qF7b3FBqO1Xnb0DBlfTv4YnO6mFwitk66t0t0XyaffKSg4 cCkA== 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 i4si5925597qka.334.2017.09.14.04.00.41; Thu, 14 Sep 2017 04:00: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 1EF9F60813; Thu, 14 Sep 2017 11:00: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 0D96060813; Thu, 14 Sep 2017 11:00:28 +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 C9E1A609C3; Thu, 14 Sep 2017 11:00:18 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id 23C80609C3 for ; Thu, 14 Sep 2017 11:00:15 +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 AFDF943016F0 for ; Thu, 14 Sep 2017 14:00:13 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback7o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id B6FbD7dKld-0D9uoYFS; Thu, 14 Sep 2017 14:00:13 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0DOiFj3h; Thu, 14 Sep 2017 14:00:13 +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: Thu, 14 Sep 2017 14:00:02 +0300 Message-Id: <1505386807-2986-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 2/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .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 Thu Sep 14 11: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: 112530 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp521705edb; Thu, 14 Sep 2017 04:04:45 -0700 (PDT) X-Google-Smtp-Source: AOwi7QD/IQTsYCU6RBYhi3BSk7BV5sMLCjiyRC2dPZllLS0hSWoGIZS1w1NskkFhXyYHi0gqdbcw X-Received: by 10.55.181.134 with SMTP id e128mr2149893qkf.62.1505387085825; Thu, 14 Sep 2017 04:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505387085; cv=none; d=google.com; s=arc-20160816; b=ZrVvugPfqpNUrTEnxWKFFyudxwwXyhsm5lDAX4ywUQ3f/YWMF1ZrLfEW3PI/jSzBlt 3MkUZGwBmzpxo+Rzo/rVBtQvvpZUPrvxHYh2Tld3oAjwuGChQbJ2diIy/oVu9ShupKoG ncpkyY36Ukomf2W3lyD8KUZcERiMwCA3QO4s0en7rjHg12XFYnA/jSoWyYNuHkKn7OHl sE3q5PYMyTjjlPvNZbz0Z8htuAepoz0zZH9kwRLtVhHCUBwjByhquNskNyTlGwNHulwt 7wPk2MDjJPmbyISf7uqpXj2UlPTNPSz4tFSUEEKQF0y3E8zKQaTsNF2rQROSVVOecrEU ubxQ== 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=qgqT0nMgbbG9oWMnpkC/2f7RgXD/RMsrMnXUJyeZxiM=; b=dE5g9k0Lk+f8vHhRHcvUQvgzOe8+W220LTebLgK36OQQcpyfbskaCJHsiORY8hulVv iIrwf6k2CTNEHSnfMMiQR2etEndObZNnyvedfh+e48eO4xpbvjvyiUxcA792KaCn3cJD SUvcFG1+mvaLUJow8w1c1ViYohap35B1QDDNRSO6GZFtDzZxM8pyudbul6Y/mDi9mXPv DytckHdol6x1L5dF+PHBiIg2lxAyaajbLM1A2KyFjjtkFNs9DSZjhcxZ6ZZutnQRuX38 DrpOea826ZQ5xdhy8Mmvs1HBTWHK8Qy5qYfMx+MFJV44fIbviyVYzPB1Oc7f1eyubS0F GmNw== 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 d64si16615528qkf.142.2017.09.14.04.04.45; Thu, 14 Sep 2017 04:04:45 -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 74BE562D05; Thu, 14 Sep 2017 11:04:45 +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 9679F60B4F; Thu, 14 Sep 2017 11:00:58 +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 B8DF7609B3; Thu, 14 Sep 2017 11:00:23 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id EA6D9609C9 for ; Thu, 14 Sep 2017 11:00:15 +0000 (UTC) Received: from mxback9g.mail.yandex.net (mxback9g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:170]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 5FF535A05E04 for ; Thu, 14 Sep 2017 14:00:14 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id DvVXuKUDa0-0Ecq3tTG; Thu, 14 Sep 2017 14:00:14 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0DOu6aA8; Thu, 14 Sep 2017 14:00:13 +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: Thu, 14 Sep 2017 14:00:03 +0300 Message-Id: <1505386807-2986-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 3/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .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 Thu Sep 14 11: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: 112532 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp523148edb; Thu, 14 Sep 2017 04:06:18 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCOu81cuySh+2s0gO0cPICb72d2lIqmKvnoyUYJe3Bw7cvIcZ7qyxOXMLxbinC9ArQO2Cxc X-Received: by 10.55.77.86 with SMTP id a83mr1981651qkb.172.1505387178415; Thu, 14 Sep 2017 04:06:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505387178; cv=none; d=google.com; s=arc-20160816; b=T8p9jfuw7/QSo8aq2De+8HUObjCZoYq/7pqtAY0zUBnd8JQZLv+q1F4p1qTWdGMGke UPPQ6izpho0LPJln6km6wv07LjiiJx+0u3jweZVnwenH2noJ23J5GUpJs1r6Q9/kZdeh /emwsOSeT3C2Nh1aAQc7+qCLsimy52Xhqqux1fDzT4+wE7TwrtPpPUx5Kafc7PigyjxV 5n5O/Jpr03VllcvIbEc9QpQ1ENUOnnmsYh6YZvrlD9bq7bwOKoEiTlMr+DKHSA0J44s2 bcprUOFKdz9dsKjkBSVGKXQL2dH/HgeKYZVO/yVu3cbCMvYZkLBleX+bUBLqFmGC832e H1gA== 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=sd+pzVHhkEE+6mnEyVlrrBcmaOMKrtXTnzUEyxbOStk=; b=Uyt4RHmpG2yiw3H+t2nLbJEQSHIhEgv2Uf1oX5lIQqXlj1uYXyFYL6ecilvnGHPO5d n/FS9I8AA0qBclPJeB3aGLU+Iuam23JA9IpwQhG42PV4bDmqWsSHSecQit3ZRqANGbKy tfgDnbrlT4vObDQxvSj7biyCjdII6EB3jhdL624onkFqidICqCb6UeXe9mX1+Cm2mVZ/ CRTpxsGhsg6lh2sbnjLZ+mMl/WjzNi/iwkgrVOA3uxUskvyVURyt8HZlHL8AmDGJfWwB LICtk1o5tndpbrMvbrXPZ2XFfqpT0d29oZYs/Dlod7f31QZTx9j5zYsIQZs+oOdnn4Cf x7Tw== 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 i62si18333609qkh.358.2017.09.14.04.06.17; Thu, 14 Sep 2017 04:06:18 -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 82D25605D7; Thu, 14 Sep 2017 11:06:17 +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 2DC5560C63; Thu, 14 Sep 2017 11:01: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 3790160813; Thu, 14 Sep 2017 11:00:27 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 2B060609D1 for ; Thu, 14 Sep 2017 11:00:16 +0000 (UTC) Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 013375A011B4 for ; Thu, 14 Sep 2017 14:00:15 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id PK83FwoXgX-0E9CTZqX; Thu, 14 Sep 2017 14:00:14 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0EOmwpnR; Thu, 14 Sep 2017 14: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: Thu, 14 Sep 2017 14:00:04 +0300 Message-Id: <1505386807-2986-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 4/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .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 Thu Sep 14 11: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: 112526 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp518315edb; Thu, 14 Sep 2017 04:01:31 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAWPzf7r18j44qFeq2Kk3+3SwjSFEZNVpgJau+XWYtSR/FVX+lSeFJR5CvCK4ocbKsYw0wA X-Received: by 10.237.37.14 with SMTP id v14mr28736254qtc.116.1505386891784; Thu, 14 Sep 2017 04:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505386891; cv=none; d=google.com; s=arc-20160816; b=dibXYI9FunuQoFO1qVHPgszx5bfr5LFbG4xrcOK7Ptg3+mwdCsRGLCEGoVsf023ET4 rgk5J+JMbYcvRGaqn+hhXhupdkN49Az0dxIc+LQeVZCuVA0qfoqwpmUvsOqRqujcbrNM YJs6tBl9xeEbXB5a9PugNfytEq4B9JtlHOpDvU975dUdQ3GHTdKRJ+XudXiqXUwvdrgm YwHMLjTiIIzA9ll6rpX6OP9OOpLQhBwRrZXF833BthirD5Sf/R5F3iI89LSMm1PhdDEc YbN80XtFJXzFu2m9sM/N6NJO4DO0///ux3K39ioMB1N2KbslnOGxqHuj6fudSSD0WGBs zu2w== 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=uQR/zYtjj5anjGig2dI4jdyCE9UUjaW3XkLUbEXN4/Y=; b=JpiHDWKA4aspV0xeWE5grp22OTLdwsyvyZrfndukyn6MhYARES5p2Sr/b9yDhsFcif ZJKnLDDXrMXOdH7QAY9sa2aRw9PPtdmVCkUweNmPmu8QKH8rWN7eDrjmle2SCi04GwUr ci6FAh0yXLHtO44rT478rR+huETT1Ez7UCrrY2+C6NYfFlXC6mpwFQEwCgkubY8cnUNK mWYlUeKhYIjGLDNuafAXCQyIjleppS7vKzIb6mi4s735HB55Fu1yP4kl3vVcMZ+CUskK BQCeE898czXMZvwgUrSRQm9//BVB+X2h+7HcFHO2bkoSWKwoS44Dll7gs/gxHCAYt/nN Nstg== 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 e43si2185607qtc.172.2017.09.14.04.01.31; Thu, 14 Sep 2017 04:01:31 -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 6A56160B4E; Thu, 14 Sep 2017 11:01:31 +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 6DCE5609C9; Thu, 14 Sep 2017 11:00:29 +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 D1B9B609DB; Thu, 14 Sep 2017 11:00:20 +0000 (UTC) Received: from forward102p.mail.yandex.net (forward102p.mail.yandex.net [77.88.28.102]) by lists.linaro.org (Postfix) with ESMTPS id AD22B60813 for ; Thu, 14 Sep 2017 11:00:16 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward102p.mail.yandex.net (Yandex) with ESMTP id A7657430321F for ; Thu, 14 Sep 2017 14:00:15 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback9o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id FFSSnfVMtd-0FPa5Luf; Thu, 14 Sep 2017 14:00:15 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0FO0qqIV; Thu, 14 Sep 2017 14: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: Thu, 14 Sep 2017 14:00:05 +0300 Message-Id: <1505386807-2986-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 5/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .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 Thu Sep 14 11: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: 112528 Delivered-To: patch@linaro.org Received: by 10.80.163.150 with SMTP id s22csp520017edb; Thu, 14 Sep 2017 04:03:03 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBkvC40vcf61x4iQgkMU9tUX4E7sk2YWxRypg4dqiaPumiEAuwKlvbL00z910zFKz4HlmB5 X-Received: by 10.36.138.71 with SMTP id v68mr2783255itd.14.1505386982923; Thu, 14 Sep 2017 04:03:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505386982; cv=none; d=google.com; s=arc-20160816; b=FIYjA16KbOLrhqAGNuVPXctXBTec2ph3cZuKAvU1dZwK+fJmLrV/JTkK3zHpzZ9fXn 0Ls/w/Whpv3S5+kX/0ZH5gWo5URWkW4DNE/36WM/tEQRciSAAQ2dkQ3zvInW06dOL3f6 mp9GRb1fgPeBm27+/wBhdTKUkMaj43eWwpRl47U6GPuUeFaef1YacZHijMH1MK2p7jSD rC4Nw1BGePqKLIBr2DITa9oCgEoxv1ovtZtVDphn/mhId+KXAvOorBgSx8RlmPp8UCz0 /c/ZvL+58nE6KcBPzMBh549kbpoYXOO1JDpV0Eqk/bB2VDwIKS5YGyezF64cfkgP1c4V FcQA== 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=LWls9yvNwbaC6/FUPAllm5kgunzmJ1LXO+FZM3AEoC8=; b=kr8On1a33GZUECXC3iEYl0fsrOizqbKcI+h0KmJi46HErzmFdOj6XqwL3d8TKIbV0s drcAn5Nd5+YTWPg/C9RrYskQduTlSA9nFxNHQiAfE21xF08Xm5OfJvs6NpVQ7pTb53Hw 0GlxV8UOPus+5rMGiYcHtwl9vZX+xJsjx6Ld1pbzpF7yAZIJlzuqQuLC6in+9S4koc85 Ohs4EIeYqHCExxZsLHMMheUGsoGmk2XU65FPM2H4TFpIdzRfJmi5QOAQX6N7U0q7fGOv 0JxiVNgMhto+dUNBq7/xkKGxQUhxNzqDe4ri2aD8KeLpAM+KxcITDZTLWTgKn0rXzh+I Rprg== 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 p74si1131807ita.205.2017.09.14.04.03.02; Thu, 14 Sep 2017 04:03:02 -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 7509B62C60; Thu, 14 Sep 2017 11:03:02 +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 09098609EB; Thu, 14 Sep 2017 11:00:38 +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 A476560813; Thu, 14 Sep 2017 11:00:22 +0000 (UTC) Received: from forward100p.mail.yandex.net (forward100p.mail.yandex.net [77.88.28.100]) by lists.linaro.org (Postfix) with ESMTPS id D30F1609B5 for ; Thu, 14 Sep 2017 11:00:17 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 38A9951016DA for ; Thu, 14 Sep 2017 14:00:16 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 3u9nIxUT4Q-0GLumoql; Thu, 14 Sep 2017 14:00:16 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0FOuQA4c; Thu, 14 Sep 2017 14: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: Thu, 14 Sep 2017 14:00:06 +0300 Message-Id: <1505386807-2986-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 6/7] 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .travis.yml | 86 ++++++++++++++++--------------------------------------------- 1 file changed, 22 insertions(+), 64 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06983f8e..ac8a4c3a 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} ${CFLAGS} ${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} ${CFLAGS} ${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 From patchwork Thu Sep 14 11: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: 112534 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp610530qgf; Thu, 14 Sep 2017 04:07:59 -0700 (PDT) X-Google-Smtp-Source: AOwi7QD9jgqAu89FxqerxCGwSdKIoYrAa5To2xdp+PfkDxPx5BNV01JdzBUxD/hgNBKXxlKeZhUt X-Received: by 10.55.214.71 with SMTP id t68mr2112303qki.318.1505387125680; Thu, 14 Sep 2017 04:05:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505387125; cv=none; d=google.com; s=arc-20160816; b=QFrp3taXXsOAlKqCHnKV0tb9cj2zL4amj3F1EqzsVEAhqITpSfVID0oC+Riga0RcYn VdQcQbuqBfp0nRKSeNeo8buvaGeIM5cyV400X7t2WPA6dqAjOEbR0ixgjxhrJUhQ7TWy nJtsYaGVw/K5qQeOc85o0CvAlh1+EoeWrSBvlcOyishijWxsBHaRfF7HeZO/5rF8u03S QDRN4uEDck85F5dg2BKWQJtBj56RTsAN8OaNYPK4dzX1SE99aMdQTIcmBPqdt/72KxUT ztfKEJVEGeWAb/T2hO7r7hhK9hGTd230FWbdm2GAwVsv4ZKBbbKLX0D/4XeYTZCN1nqu 6ucA== 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=eQydThYmovqUiRyVmM7B5OnpP26KX9AiZXN/dmgXiHU=; b=flPHeAjvpq8Qv96bP16caCo1mmJ7RmjeUYBtDxNxRB/NdM+KsT2HRvHpKW9TcX4Oxr qj7bJJXTBXf2MT4T4sqLSJ6obfT/WarfztvohqfIifSLwaTxXlAMRFucv9ue1kL8wTrY Vgt2NhU/Pnzmpz63b7uhJRCE2orGufwOWossWhTzUqv+/EkyXGtwk46lEopDc0sL5jXN UCeoUmzTITxlQvs0zl9uMdAYcO7SitSF7Mij3owsI9zVZURMau9hlsaTJCwATBXU0Bi3 Qy+58ygIAHOQLeXAeU8VoFzO2nFxJ98PyX38TMazSBG3rnJvsyKh4eJTE/8a2Hsj234+ hoFA== 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 128si15752744qkd.376.2017.09.14.04.05.25; Thu, 14 Sep 2017 04:05:25 -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 57D226286D; Thu, 14 Sep 2017 11:05:25 +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 D4B3A60C1E; Thu, 14 Sep 2017 11:01: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 194F760813; Thu, 14 Sep 2017 11:00:26 +0000 (UTC) Received: from forward101p.mail.yandex.net (forward101p.mail.yandex.net [77.88.28.101]) by lists.linaro.org (Postfix) with ESMTPS id 58EF0609D6 for ; Thu, 14 Sep 2017 11:00:18 +0000 (UTC) Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward101p.mail.yandex.net (Yandex) with ESMTP id B97376A8662A for ; Thu, 14 Sep 2017 14:00:16 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VSItSZDIV3-0Gfuj8Um; Thu, 14 Sep 2017 14:00:16 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id V9Xe4IstaW-0GOu3xO5; Thu, 14 Sep 2017 14: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: Thu, 14 Sep 2017 14:00:07 +0300 Message-Id: <1505386807-2986-8-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> References: <1505386807-2986-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v5 7/7] travis: move cross-compilation into build matrix 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 As both native and cross-compilation now use the same script it is possible to move cross-compilation setup back to build matrix. Proper cross-compiler is selected based on actual compiler (gcc/clang) and cross-target. 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: 037b9d885bd9497de1ed06b5c7c1aa75d0cf22fc **/ .travis.yml | 58 +++++++++++++++++++++------------------------------------- 1 file changed, 21 insertions(+), 37 deletions(-) diff --git a/.travis.yml b/.travis.yml index ac8a4c3a..43141f9f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,6 +67,10 @@ env: - CONF="--enable-schedule-sp" - CONF="--enable-schedule-iquery" - CONF="--enable-dpdk-zero-copy" + - CROSS_ARCH="arm64" + - CROSS_ARCH="armhf" CFLAGS="-march=armv7-a" + - CROSS_ARCH="powerpc" + - CROSS_ARCH="i386" before_install: @@ -94,10 +98,19 @@ before_install: fi - if [ "${CC#clang}" != "${CC}" ] ; then + if [ -n "$CROSS_ARCH" ] ; + then + export CC="${CC} --target=$CROSS_GNU_TYPE" ; + fi ; export CXX="${CC/clang/clang++}"; elif [ "$CROSS_ARCH" = "i386" ] ; then + export CC="gcc -m32" ; export CXX="g++ -m32" ; + elif [ -n "$CROSS_ARCH" ] ; + then + export CC="$CROSS_GNU_TYPE"-gcc ; + export CXX="$CROSS_GNU_TYPE"-g++ ; fi - if test ! -L /usr/lib/ccache/${CC%% *} ; then sudo ln -s -t /usr/lib/ccache/ `which ${CC%% *}` ; fi - ccache -s @@ -128,15 +141,17 @@ install: - sudo mkdir -p /mnt/huge - sudo mount -t hugetlbfs nodev /mnt/huge - - sudo apt-get -qq update - - sudo apt-get install linux-headers-`uname -r` - - sudo pip install coverage + - if [ -z "$CROSS_ARCH" ] ; + then + sudo apt-get -qq update ; + sudo apt-get install linux-headers-`uname -r` ; + fi - gem install asciidoctor # DPDK pktio. Note that cache must be purged if dpdk version changes. - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"} - | - if [ ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then + if [ -z "$CROSS_ARCH" -a ! -f "dpdk/${TARGET}/lib/libdpdk.a" ]; then git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v17.02 http://dpdk.org/git/dpdk dpdk pushd dpdk git log --oneline --decorate @@ -151,7 +166,7 @@ install: # Netmap pktio - | - if [ ! -f "netmap/LINUX/netmap.ko" ]; then + if [ -z "$CROSS_ARCH" -a ! -f "netmap/LINUX/netmap.ko" ]; then git -c advice.detachedHead=false clone -q --depth=1 --single-branch --branch=v11.2 https://github.com/luigirizzo/netmap.git pushd netmap/LINUX ./configure @@ -193,41 +208,10 @@ script: jobs: include: - stage: test - compiler: aarch64-linux-gnu-gcc - env: TEST="aarch64-linux-gnu" CROSS_ARCH="arm64" - 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: gem install asciidoctor - - stage: test - compiler: arm-linux-gnueabihf-gcc - env: TEST="arm-linux-gnueabihf" CROSS_ARCH="armhf" - 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: gem install asciidoctor - - stage: test - compiler: powerpc-linux-gnu-gcc - env: TEST="powerpc-linux-gnueabi" CROSS_ARCH="powerpc" - 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: gem install asciidoctor - - stage: test - compiler: "\"gcc -m32\"" - env: TEST="i686-linux-gnueabi" CROSS_ARCH="i386" - install: gem install asciidoctor - - stage: test - compiler: "\"clang-3.8 -m32\"" - env: TEST="clang-3.8 i686-linux-gnu" CROSS_ARCH="i386" - install: gem install asciidoctor - - stage: test env: TEST=coverage compiler: gcc script: + - sudo pip install coverage - ./bootstrap - ./configure --prefix=$HOME/odp-install --enable-user-guides