From patchwork Wed Sep 13 14: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: 112451 Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp975212edi; Wed, 13 Sep 2017 07:06:08 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA0050rWA+nWrAD64SICiLW4UUP/2VylwcQAEO9suMNNXk5o0cdFuKbmJp197Z2sdDXJhgC X-Received: by 10.237.37.103 with SMTP id w36mr17904217qtc.325.1505311568653; Wed, 13 Sep 2017 07:06:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311568; cv=none; d=google.com; s=arc-20160816; b=PLh1orbcob08qD/HoBjBPM5RJfp+twTt/+VQ49XEdXEML093tKi4IDk018h86ODWTF oWpJZL5gSJxyavb4Cius/6n73sNDltzC45XCNMbb1nLK+jlVFmpX6SoXZkD+6/odtpBa fFAQqk+6gvr8M8EME/wFl2YCXtT5Il7zhhS0qAPmsUjTsKKB3R3l6x1crUFTOfbkzbZj r5Bn7fLDyh1Km1ucFBxII5mo9XT9wkDtpKnFU1fAWJM8emP12IOg94vG6YS1VFtMJMLI E6+MJXl7/W5sxIlVoTQiJ/C+uJWiZ3lU5MHeKkuhpV7Fj4W5SqjF8fV9BldletPQmCAF 08mA== 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=hs0nBSswivWqQyg+mmz2+KVe/W/lvqg7/ckWRB37/qA=; b=yq53FdcwqQEkoHCAQtWcLyZyEokIsAel9W9CLnIDmWq7kHl5lQ0xw133MVt9NMIOjr tPjQgktz3Xjk/o7lV4KTN6TJiMYG2NRalsgV2pPMwhxOT1avJDH9oiKf3umThwotcEZN Cm0hG1YgVobroEt+tBjOyeI71cAIzIqc38tfJYYG7p9wVKh1U2tU4YY1C4H5ZwSN00dl JdeZ7QtcQklvNViMtglJ3ZnXWUo6n5zPFBVeIj4ZBSv8S/EnBjWj6OSEFXAgt1VAFdYd Ky0LWo2ieHlRbzR4mcaQFlnEezP38rHjtnsIxtz9BQ05h84WquumkhuU6FT+x5DeHc2a Sw8g== 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 k62si8467350qkb.492.2017.09.13.07.06.08; Wed, 13 Sep 2017 07:06:08 -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 532D764485; Wed, 13 Sep 2017 14:06:08 +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 1C85F62DF4; Wed, 13 Sep 2017 14:01:05 +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 61D5D60C88; Wed, 13 Sep 2017 14:00:33 +0000 (UTC) Received: from forward105o.mail.yandex.net (forward105o.mail.yandex.net [37.140.190.183]) by lists.linaro.org (Postfix) with ESMTPS id 4977F60A41 for ; Wed, 13 Sep 2017 14:00:27 +0000 (UTC) Received: from mxback5g.mail.yandex.net (mxback5g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:166]) by forward105o.mail.yandex.net (Yandex) with ESMTP id 819564442448 for ; Wed, 13 Sep 2017 17:00:18 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback5g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mb1pA0OK6w-0I4CnhbO; Wed, 13 Sep 2017 17:00:18 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0H20jDkq; Wed, 13 Sep 2017 17: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 17:00:01 +0300 Message-Id: <1505311206-19657-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .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 14: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: 112450 Delivered-To: patch@linaro.org Received: by 10.80.202.13 with SMTP id d13csp974280edi; Wed, 13 Sep 2017 07:05:16 -0700 (PDT) X-Google-Smtp-Source: AOwi7QD+QrodFWaUsdqviKicgj0FnzniH0B1W+3ccsSf4aksTrcGfClg1JiU9ZhTxm2LeBvo13vo X-Received: by 10.55.22.146 with SMTP id 18mr25913063qkw.112.1505311516192; Wed, 13 Sep 2017 07:05:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311516; cv=none; d=google.com; s=arc-20160816; b=vhezxKOAvBb1b49qTZYt/D6FlF7XFR+dDbtIIOne8j4zx80X337MfFemJdNi6GEP8o eRYyA9yzHWq+XMuXGkWerigr0f+xZNbL91WY82QRsHBeaabwUBeB3heVSqQcx7yKYIJg 7U76AN5NEOykA+0lrPkYPtVHgBj28bkD2I9hSTM81KhktmDth/f9/Ytyd3gqAYcGFgwb HAqhhwj0wj/6bBxZZjHg6jbdtNiGUl4waYSUEdZ3wYIrNZUUUUfHLmbjhhaEJkTuZnlX A4CFxYzC9vBZ9ARmYnoHZXZaKl3u/uFTKS2bshiMR9Twb7RAFR8lpvGrojNMyYoB/XOt YUtw== 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=B9jXOXutx6JRUADrR0C0NnN2CJ+WxJc35tq2hAX8J4c=; b=mbLM+SZEoYYMY+ZHwUyaX1ohzi6ExIS+QZJvMu3B9BV3nMyiCT3BNiQS47xig6Mo46 0EEaIXoCFb3DjIs3UQ5aL6iPLmba58vsrPy080nVyxwulensZMwDgKQ6oLMzc5VJfj94 SnBLceoeiXFeRmLHbjw6PwaxUbMj4TeJVrEQLeoaUfaLxOU665PcZsEzJq5VaEAkAdJW A+42D2N/63A6m9m5tGTbyXHn+uqZCdBz20fk+9CSeCn71DPR2We72r+sojMQmIBT80yR HKWDpCKe5h9jyuUlXuiot/xjHWOplD0HDRcsNxknHwAGI5s2e7wX5TLU5/J9Z1xdB3iK idgw== 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 m36si356733qtd.338.2017.09.13.07.05.15; Wed, 13 Sep 2017 07:05:15 -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 05B2664483; Wed, 13 Sep 2017 14:05:15 +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 C605D62DF5; Wed, 13 Sep 2017 14:01:03 +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 1FA3560B59; Wed, 13 Sep 2017 14:00:30 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id CC3C260AF1 for ; Wed, 13 Sep 2017 14:00:20 +0000 (UTC) Received: from mxback9o.mail.yandex.net (mxback9o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::23]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 37CF92A252F4 for ; Wed, 13 Sep 2017 17:00:19 +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 5GgEhSyhIr-0J1Km5Br; Wed, 13 Sep 2017 17:00:19 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0I206rlS; Wed, 13 Sep 2017 17:00:18 +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 17:00:02 +0300 Message-Id: <1505311206-19657-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .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 14: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: 112447 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp982676qgf; Wed, 13 Sep 2017 07:01:37 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCLiGPXsguzL4wcUohmWk//BYXZt0VeaXU50lW2Y4MpCdThC5wubZFcuHWSptuGekYsk1aa X-Received: by 10.200.42.9 with SMTP id k9mr27645727qtk.268.1505311297035; Wed, 13 Sep 2017 07:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311297; cv=none; d=google.com; s=arc-20160816; b=Mh6YuxSEimcRn5aqVZY02WQv0KsZEZOlxAU9+V46kD00ecIkjhtJz3C3FtFcyl3vA2 wlomWC2ybrFbuENnQw981FBl7rOJHNqKOep56kFX1MNZSuvfNhWn4RRFUfeG2d75BWFp jYiPVZj5iA2f429noO2rc8PZM2kYrnkqY97l09Be7Vbu8Z7kHIdUBS2O3F/k5k4G3ybQ 6yazdpZXcdbhnkLVxD+0MevTYF6LnTFpn89nAqdRk9yN5ULabsouq5JK9JUdQS5sByc+ KLcRm6hsNlhx8K/uydLxl/ipMgP8fjnjVCj0qxtxkaWGmqgSCRqcAxu9VwHwf4O6Lti7 Memw== 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=DULVaYGbOlyW5VPPHSDTslKjqqZG1f+0eDUsM0YS/3c=; b=fYiwR8kF8vtbIxH+vYknWrMEgQDFPM7M9mW1SYwKcOVIg4Kmh2fwRMxsDchEQPLw7p WFHlQ7vBi7tSWVKIYlZ9i+721h9ESHAKAfqyi95cC0h7OAIX0ow1gcD2hk2HLNn5wZby DJZT33ImST2UEMO4Vwhj91Lpn1kDDPOTgpgcWDMcyvY2ofOYMfxThPb3UuODDOTQ0Wts wosnaRQdFBF3ebRBJn/YhjoWurgNgpj5s93fsUnxYamCEoCrukenMHE2db3sfr2KgU42 e7ZQ6O58Poys2XxODfU173YhR2QJRxdOP/wqJN9KUC+zud19bzvgG0qYx21pRHLt6hl+ lgsg== 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 g4si14973567qti.519.2017.09.13.07.01.36; Wed, 13 Sep 2017 07:01:37 -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 937E6636A2; Wed, 13 Sep 2017 14:01:36 +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 C039B60B59; Wed, 13 Sep 2017 14:00:32 +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 564DC60B45; Wed, 13 Sep 2017 14:00:26 +0000 (UTC) Received: from forward103j.mail.yandex.net (forward103j.mail.yandex.net [5.45.198.246]) by lists.linaro.org (Postfix) with ESMTPS id 3C67560B14 for ; Wed, 13 Sep 2017 14:00:21 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward103j.mail.yandex.net (Yandex) with ESMTP id DACD134C55B0 for ; Wed, 13 Sep 2017 17:00:19 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iKXHBXc9Fe-0JcOrvaY; Wed, 13 Sep 2017 17:00:19 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0J2mx4G6; Wed, 13 Sep 2017 17:00:19 +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 17:00:03 +0300 Message-Id: <1505311206-19657-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .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 14: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: 112446 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp981378qgf; Wed, 13 Sep 2017 07:00:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAx+Q1RGkRBKYhK8eoXfaDfAJHDVuwHhkRf5MHXipcjUOxEv24+Wkbtqftmmqp48OEzhwEH X-Received: by 10.237.59.177 with SMTP id r46mr26584330qte.253.1505311237857; Wed, 13 Sep 2017 07:00:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311237; cv=none; d=google.com; s=arc-20160816; b=0FcL6PeiO0busMuOrNAkC5zDk2gnHcOff6axIjpE0vLWiNd5kZlfkFGy5Jgq0BtOTV 9h1PJlVKLE9DYKwewhfdfgwZaLdSBQAt/gxY6XfILudijt/0tPMz2BhyB0yOi/4+4bV0 IldvY/qKekh6O+ZLMWB7Fyprd03DMwD3qnPEsFza8QoS+m0mtY0Xhw+iKzAf4egG0uOd R+NiewRglIesjUkC5N5TyfDkgAhsH5c/5zLwGMVri1mLiPQlti97zfUaPS1H/BD28aLG i+QaeQLZuWI2l4IGcY35ZO5MPXMB4HeM6oemlJGwKcOdCmXDjslSZmUnQaz06N4neqOP TsYA== 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=BbpMAFDqN2n3X1XNH3sbcjQkteap19LaEPgiC7qwHfk=; b=hFJXF0esYUlhPQIvvmYUUftAXUbenNdjv1QmXavj4QajKCnmo6mj7mbj0ebKClZBEB wXNNhfFO2cBaifimWF8jGf6T0Uf8vn1qQ+ABvL/Pg2kqC8eJuOE6Q31ed3xNIMN2Ik5f UWecperoqpGFl+cSPMZlDuH+mJw8S6+kumx8aQNcHVcFS3Yos4OAOJcUy/EDc/gPAlFG bbJZJfxNkVWxnV15m1Z0b3oTJnAvgZIVGcvdVKgTvqXzFzHr6ub0Fp7Iabz1a/iQTyWG p/NtgNRqga2CqhfuSPBgImcgFRN7R4VG1p/FM3Q8tbcdrOfKJ3ec3w/5c1SVjN3pvHgf ad4A== 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 n2si14625031qte.231.2017.09.13.07.00.36; Wed, 13 Sep 2017 07:00:37 -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 B073E62AE4; Wed, 13 Sep 2017 14:00:36 +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 5B72E60B49; Wed, 13 Sep 2017 14: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 2A20E60B4E; Wed, 13 Sep 2017 14:00:25 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id 60AF960B45 for ; Wed, 13 Sep 2017 14:00:22 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 885DA2D84B2E for ; Wed, 13 Sep 2017 17:00:20 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id Py7TnsDurC-0KZ4aFw8; Wed, 13 Sep 2017 17:00:20 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0K2OCxCL; Wed, 13 Sep 2017 17:00:20 +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 17:00:04 +0300 Message-Id: <1505311206-19657-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .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 14: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: 112448 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp983967qgf; Wed, 13 Sep 2017 07:02:35 -0700 (PDT) X-Google-Smtp-Source: AOwi7QDL+Yu4gE5eLc+UdIsesUw7Iht5kJ6KTWd3+cGdwWRXQkYIMUEdISJnwK3Sam3yy2lDcCLK X-Received: by 10.55.72.81 with SMTP id v78mr24234170qka.333.1505311355223; Wed, 13 Sep 2017 07:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311355; cv=none; d=google.com; s=arc-20160816; b=t6MZCFm/hVRdk8qzpFFTWHYyENAQd0ngi/EVjH+cPKegmKn4XkwHtNycxyIaHhYztJ iVWpdbcTpvzf4MGZ2nREwA03GSWWs/FgJ7vY0tn/VVeW+BmaLls8SwbnzXm9+Ni46sTv 1SevkEBqQwlOlRNJWTzW2rqCNB/xukSkx5XY8L8Mfo49yxZN4CxxoLE1vlHr1VFeB+St Y6g2tpGuZ7414xNkxbdgJA6ByeMrJUd6i33J8AFXSXa0W3DgBXMhF/yqihZE4Jgdvd2i cCFSWvfDYd/MQMaAmhkxwCppuWddpUmWJ0zr7HCKb+e7kBZkgyhcETvBPorkTkcb3RxY 0GLQ== 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=Mlr3ifg6XlygGvacnL4BPW5CNWDSPvBPEW6AZg6087w=; b=cKwC7hxzg/xk995GOoOz9FxzJlj0ElxnMkcICYqed60GBS9QCtVXe07CZ3L/YcCY2z Vq993BWaeuFTq2dB67ePZjwed3Ehh3R+Wus86jhB61+zisEhsP4K2+NT3hl5DyQHWBdF djzSIhZoJYWQLXxmg0BHu5+jvTA0+80eP1j03cb5CiEjdCiXBYzFjZcdRAbW8qhdnE/C ON2mcnZ0KOxvk1zMYp+/SUcxkPAV9eQYjzvCfldHX6M0mL3lSWVcdhoeTHHzRjY9CQHF KNsZ+Dm2dLnHkCs+AN5OSNgP5E1aBOh9arSuzODZboxNHCsH/Yf+81sX4AC6BOS8oVfm QeCg== 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 r65si14401396qkf.155.2017.09.13.07.02.34; Wed, 13 Sep 2017 07:02:35 -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 BFB606445F; Wed, 13 Sep 2017 14:02: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=-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 2F0F360CDC; Wed, 13 Sep 2017 14:00: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 75F8D60B14; Wed, 13 Sep 2017 14:00:26 +0000 (UTC) Received: from forward103p.mail.yandex.net (forward103p.mail.yandex.net [77.88.28.106]) by lists.linaro.org (Postfix) with ESMTPS id 705C560A41 for ; Wed, 13 Sep 2017 14:00:23 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward103p.mail.yandex.net (Yandex) with ESMTP id 9D7D52183BC4 for ; Wed, 13 Sep 2017 17:00:21 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id ttY8PUxrg4-0L4Cg1BP; Wed, 13 Sep 2017 17:00:21 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0K2CrYT4; Wed, 13 Sep 2017 17:00:20 +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 17:00:05 +0300 Message-Id: <1505311206-19657-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .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 14: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: 112449 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp985583qgf; Wed, 13 Sep 2017 07:03:40 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAA6XcyjGxe7d7zJDscRgPAhUn195FfE50JtSKFldnfp6DTLWxi9JVG4fZrkJjjw8tVKN3o X-Received: by 10.200.27.28 with SMTP id y28mr25531042qtj.297.1505311420006; Wed, 13 Sep 2017 07:03:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505311419; cv=none; d=google.com; s=arc-20160816; b=P4Ba2/GbNO2Tc0CCjalXp+6b68XNdFys+H5I1rPDqj9U+4SnXrRXhyR+XndZIPQ/t1 oJSOZmtqnYi0Bwy6389/UgpSxdq/kHmBdSHF9hzLQ5HNM4ilNSqZxMLePE4xUZ7TjWTs F8TTAOqQ0yStxFUPKY6mjqcbyeBYUIsJ2dmODpve880yxMmQEjOTMxBBVpTsm8aBPwhd lX0cqP2DqKD+aDgCUISW2MrS/oM3hk5wesEI3pC3uGFp8BBK9H6cw040qC3ZMn2//8U7 vpgK6ZiliBBMXJnS12OuW8szskpzLrdb2yLuiYXaaX8vF4tT2xAc8dlgZSXDVeAg+ahO 5Mhg== 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=xEpJnPS/pro1GtfgQ+NZbtJ1h3juFXgsAWYD0Lohh8A=; b=ZmMdC/zKRSgzjqmX/JcJuqxNdUyP+yNXhXo8dQM54lZ3gKzNDO4XEgrGgVlzkAqxYj ZsWEyk7v4+3E7h6Y2HZcjh1Yq2+72+/2pLwqtB/Lk7ibQHRd2HJfAjx3/PNUpXCMNSQV POEGgZ9P7GQ5ny2ZBDRFDJjObdWkhbks0zAur3YXkphXqlgKZMnGgBFtpN2sfHE8Lo5q 0izd2JK4MkNNZHh7x2qy6uQhdGR27zdBMySp7jYNYAdZYRrLbW6KbzEGXiMRZBZfr4S4 Uj1+jsKEQfJQz1ZHy0JOa+2HEncF7w7pTD/Sjy4E58BjRhUNls5UIivLXEskkEDlsfyi NRpQ== 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 v64si7290861qkb.46.2017.09.13.07.03.39; Wed, 13 Sep 2017 07:03:39 -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 A5C4A6156C; Wed, 13 Sep 2017 14:03:39 +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 72AFE62C59; Wed, 13 Sep 2017 14:00:43 +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 2FB4F60B45; Wed, 13 Sep 2017 14:00:28 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 950F360B49 for ; Wed, 13 Sep 2017 14:00:23 +0000 (UTC) Received: from mxback17j.mail.yandex.net (mxback17j.mail.yandex.net [IPv6:2a02:6b8:0:1619::93]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 5370F5A04857 for ; Wed, 13 Sep 2017 17:00:22 +0300 (MSK) Received: from smtp4o.mail.yandex.net (smtp4o.mail.yandex.net [2a02:6b8:0:1a2d::28]) by mxback17j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id hXei9NRkw1-0MhemMec; Wed, 13 Sep 2017 17:00:22 +0300 Received: by smtp4o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id rO6ixn5FJb-0L2C3Ian; Wed, 13 Sep 2017 17:00:21 +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 17:00:06 +0300 Message-Id: <1505311206-19657-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> References: <1505311206-19657-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v1 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: 0a03682a26c390a3e1567ae1767d6aca605f0ac7 **/ .travis.yml | 70 +++++++++++++------------------------------------------------ 1 file changed, 14 insertions(+), 56 deletions(-) diff --git a/.travis.yml b/.travis.yml index 06983f8e..6ecf6b8f 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: @@ -190,82 +196,34 @@ jobs: 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) - 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) - 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) - 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) - 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) - 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) - 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) - 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) - stage: test env: TEST=coverage compiler: gcc