From patchwork Wed Sep 13 16: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: 112480 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1249030qgf; Wed, 13 Sep 2017 11:24:24 -0700 (PDT) X-Google-Smtp-Source: AOwi7QA+lSyu5iAGgQl5FtC9H6UdGQZcaCEnDQ+xM2LwXBU7IARBeFXdOSBPeNqw1KLj/g84wmX8 X-Received: by 10.55.76.134 with SMTP id z128mr27208889qka.183.1505327064272; Wed, 13 Sep 2017 11:24:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327064; cv=none; d=google.com; s=arc-20160816; b=V0yQOZWYV3usKs3u5A39EG7pR4Zj2WlHijbnM+ujtm4Ys2p4AtNUqbKD5uto0dMgGu MuWNEUzBMSzFCgSlgGNYREHEh6RIoNNdv9q+aFtm2lk1nsvWw6+KLL/K9SDfLK2wI6ox uekh1H13Ca/8tzJJM4guCcNI2w3Ng5Am2gozPSxPIQ9obbUKyVZllVnyV5x9YVuC/G1n AHscJVEDm0vNrIm9Dis1COpvaiJt4BsJ244KPKmvtwQFlaf6XppJN+jz4oQTPJZnPcCb ze6Y6IXmYGvB6+pPi4pk/SQRQ9ogIc1+e5gWDUahbDEPx10ZR37tSi5d5MM3fbgye1Mc nn3g== 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=2xoFWoBYd1eYs0tO3Vf3CMiRZeTkSUI0la41Xo/GlQE=; b=q+bgGvPGYjqMYtYO5qmfoNS8wyC9HOIXT+VoAWkr1A6tCxnT+tSKuteaOnh5Q3TO2w dpiz4vHrip1z5y3zFTAWppHN5PLR9d96sY3PsLgWLOwOgR4N4JjbgTwap4ernrYjcxpN QzpNmW8nOcy7mqX4jS7zs+qpAFO7s7QjiwDNcjb/FOhtieEWdv1zyJMzuPiulN2QefFE 88PKc8kJ/wofUq/7U3eA5gHkGXR1Lb68gLDDYBfuA31DOTPtBhlQgHS8ImDisaAmE+M1 Sv6IK2l3lqz6HL4+eY87G4b6qJVsIBkuaPDhz0T4hH+Q0fm0Km1v9GquCZnLJPIPqinP fyJA== 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 s2si16017576qta.173.2017.09.13.11.24.23; Wed, 13 Sep 2017 11:24:24 -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 B03D364459; Wed, 13 Sep 2017 18:24:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-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 3122A65F2E; Wed, 13 Sep 2017 17:55:30 +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 E9FB665F2E; Wed, 13 Sep 2017 17:55:16 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id 94DFD65D24 for ; Wed, 13 Sep 2017 16:00:15 +0000 (UTC) Received: from mxback3j.mail.yandex.net (mxback3j.mail.yandex.net [IPv6:2a02:6b8:0:1619::10c]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 454E51244556 for ; Wed, 13 Sep 2017 19:00:14 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback3j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id dcdjHeSwYD-0Ec0DxnI; Wed, 13 Sep 2017 19:00:14 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0DKerZ78; Wed, 13 Sep 2017 19: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: Wed, 13 Sep 2017 19:00:02 +0300 Message-Id: <1505318407-21381-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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 16: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: 112481 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1250056qgf; Wed, 13 Sep 2017 11:25:36 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6fgbXMrfEtufxjnqVJVVcdrnXGArK9Id6/ieKqzhPVxYz7FLL6HGJW18+Zc2RitMPAkPCq X-Received: by 10.55.198.202 with SMTP id s71mr24049553qkl.143.1505327135908; Wed, 13 Sep 2017 11:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327135; cv=none; d=google.com; s=arc-20160816; b=sHZri55hXY8dsl6yHSWJWw9QhaPkTWduEO7VSVg6awDraZ0Z+zSBy0bZ3FAh17/2m+ /QDsnUXtkw5w1WLbO1r/LcoGAWXtYRW/KoBwCEF2xqZ3cAjRkXX2twgGAar/K0rigCJH 43HT3tRQWDn318fHLOX0/XDXJYzT6swB9xoSzKbJyOmOFrU7XDZ8/gMGOjnDiV9D5A1Q ykaBHOpp7jBNAQIPdWOAazU3/BpmOtyGFu6bU+xCEs/7++o5F9phRi90kRPU2ZQ2/6iM iJTg9d23XZMqZwJCyLV++rTxMtb37CmwkIlpEWc8FVY37Aa/Fwzg7fKpBLrn65BnOM/H /Clg== 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=4RGEfPBLIC+XFmFUEXlzkoxKKpSvanvyJDOq/UoF2zs=; b=Tfy5YqWt2Y8P4V/Diz+QtpPM6R9JRnOw8I6jEjbV6Jl1tXQImUSIAqu5cXaXc2x8+t iQM0GojAV91V+51bUHZR0WheCU7vqW47zUMt7muppmX/Wul0wfzQ7o01p4BFkxpLtAzz gZCfBvzcpFEv78P+96+CViavqNaJmf2dla77hcnmNlMzmnlo2ac+coBD11SPmRiQtWjP pBxWrGygXK+MEb9nfOBxMX6Zgx1avP8Lgf3rc3vwuO5yYiMgd2w9uqVkQFSas9lQ4lqC SdxRFUIAVA1FrZ8l0UbTLjqJiXL+1G41d2FdGm0xVIg29mKz0ftM1KspVkq1k9w59APe a4Aw== 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 s32si277632qtg.164.2017.09.13.11.25.35; Wed, 13 Sep 2017 11:25: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 7EBC8644B2; Wed, 13 Sep 2017 18:25:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id C0E2365F32; Wed, 13 Sep 2017 17:55:46 +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 64F7D65F2D; Wed, 13 Sep 2017 17:55:29 +0000 (UTC) Received: from forward100j.mail.yandex.net (forward100j.mail.yandex.net [5.45.198.240]) by lists.linaro.org (Postfix) with ESMTPS id 8530F65D26 for ; Wed, 13 Sep 2017 16:00:16 +0000 (UTC) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward100j.mail.yandex.net (Yandex) with ESMTP id BBF8C5D86193 for ; Wed, 13 Sep 2017 19:00:14 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id QUmvN0jPeO-0EZqcRR9; Wed, 13 Sep 2017 19:00:14 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0EK4OXjs; Wed, 13 Sep 2017 19:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 13 Sep 2017 19:00:03 +0300 Message-Id: <1505318407-21381-3-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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 16: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: 112482 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1251158qgf; Wed, 13 Sep 2017 11:26:42 -0700 (PDT) X-Google-Smtp-Source: AOwi7QASsPGR0qoDYbf1Ps3yrFj/yKhCQPLrTBv9jytm+G28ts4/138guG5PwOhll80CRpKpxmMe X-Received: by 10.55.121.194 with SMTP id u185mr27234424qkc.101.1505327201938; Wed, 13 Sep 2017 11:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327201; cv=none; d=google.com; s=arc-20160816; b=FcJrCzkhQcCSSJ5Qx7Lwr2hK497kgqAnv1ZypJw/VnMquizPoHme4un5e2A8ss/TEj Evd8SaJ/YzT37wh54LXzMdKewtFPXVqQF2zooy5kfkgLeXmozVtuYDgeKwstvV3TSdJd 1dimFqnVgIAXarhlntWjzKoMMQFnV9rkbAxU1j543Ea9TJOnMz9ZLJz7bWLuBs5xBh+x sKRCQNn74ISL3QVRClVo9UjauxLrvdAhFr3enrTyeH3arBP3tLbL/fQyuDAHQmubQfJ3 dhU56Mk5yYALU+XcIDzUb/WFD74mZfe7n4vfByiXiLbfLREdRZUZ7mejrLWws3nMR28y Q83A== 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=6tZCDqYME3ZZoGHHT6N5PifjGMmsJX4eOV+vzNt9N0U=; b=E+kmLSm1owDvQSs4U8C/zBowlPUMvyZYfReiWq+3dev0lKmq/q1kCkA8ZGCuT0TsWq KWjDEkCEv3QDzthJtYJhUPOKVKnSOh4TDyewnvw2HsR8qM19TqEEgs4NBFIf0abZOEVj 1E3SZkOtuCdKDrSurCN7KygDyClnzW9V4n8ZDlty6h+Smne8qHAk2rjS5hVd1SkowmXD MNKyZACRKNJlNImJ6wnOYaoJ/UtPrcqXFO4wJU83pZg0d0Ka2U4zAcJU5YIII3iEHfEu HFT/HXdAG6UoxTb4qz/Wv9wsmq40NpQrA6J4TBIs6ljPOtuFBBcSBSWETz3pChKIBzGA 7eFg== 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 t6si5098583qkt.210.2017.09.13.11.26.41; Wed, 13 Sep 2017 11:26: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 989E165BC8; Wed, 13 Sep 2017 18:26: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=-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 8065665F3D; Wed, 13 Sep 2017 17:56:16 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 91DF465F34; Wed, 13 Sep 2017 17:55:46 +0000 (UTC) Received: from forward104p.mail.yandex.net (forward104p.mail.yandex.net [77.88.28.107]) by lists.linaro.org (Postfix) with ESMTPS id E129365D29 for ; Wed, 13 Sep 2017 16:00:16 +0000 (UTC) Received: from mxback12j.mail.yandex.net (mxback12j.mail.yandex.net [IPv6:2a02:6b8:0:1619::87]) by forward104p.mail.yandex.net (Yandex) with ESMTP id 78146185DC3 for ; Wed, 13 Sep 2017 19:00:15 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback12j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 0131JGjrBc-0FSWCLiA; Wed, 13 Sep 2017 19:00:15 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0EK4BhUW; Wed, 13 Sep 2017 19:00:14 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 13 Sep 2017 19:00:04 +0300 Message-Id: <1505318407-21381-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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 16: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: 112483 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1252913qgf; Wed, 13 Sep 2017 11:28:22 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC143pDdtL0G65mdaFiXE3AtB6UIb2bFmwxXGEIsAjbT9GMD9ojLFyMCvX6nxZxBcsjNijW X-Received: by 10.55.215.20 with SMTP id m20mr25321506qki.137.1505327301953; Wed, 13 Sep 2017 11:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327301; cv=none; d=google.com; s=arc-20160816; b=0UGmZt0R6E7XLeTFXbPfOpwK9qpSL/gziFpKzMWphmiULSKCkr9Us5iS2YZf5H2yDZ QD3flHWLoE4eGA6Ix/QP9nEEz6j7JgQyLcIcCGBHPA/WUVpSb5JgdeoS5ZGmetho5K4M kHuK+8YuwwZKvQ5njy3sXm86OKCPWKuzlnqmy+INjOaG2BydheluREo43ocyVCX1p9Bw UNpLjxf+Y8m9n89nqR4K8CYrcvqjdKHLbLAPENkasVj/zOim2xIpsBlpFA69ni7MfH85 e8d9lweBDtBpEX1B2/cAMEG8R6K54Sw82pYtHg+J1Ov1JNVu04k49NCq8usl6lKY+OtA 6U7g== 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=Njf9eqpaFre6JxTvz8Xc8CzMWnFcoQwGCBYgXt4swQ4=; b=0zygQVTlaQUJFUjJXLEjIJ/7963hmjR4cinT33n7gEg0gmbQCY7cstsCY4cuf1bxwl 5FsSYhznuHQk77yRjBAOZXgvapVlPfiBS8/pzHBvKS6NJrB0HQIADHTEVHewTgBV3ytK Do30QyX5BZ4Qn7CJpTCWETjha34JYK+CKL5L7ik8y2A2zsnn6vSh3gvycs7X8Sf0RrYZ Kn9Rstco4ExAIFfTl6M2ztceCAhu4s1WiR2/tFZ5sGDt56SMMAh+F1a820f9dI7TgT/S 03vMmnq8Rb9rfLj4Mdt3P6lI+R97cA/IdNOYkNpFiv1g46LK/fPGJBfeozYHPnu1dvk1 OmMg== 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 p17si15847264qkp.294.2017.09.13.11.28.21; Wed, 13 Sep 2017 11:28:21 -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 9601065BE6; Wed, 13 Sep 2017 18:28:21 +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 DAF3D65F43; Wed, 13 Sep 2017 17:56: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 273D565F3E; Wed, 13 Sep 2017 17:56:00 +0000 (UTC) Received: from forward106o.mail.yandex.net (forward106o.mail.yandex.net [37.140.190.187]) by lists.linaro.org (Postfix) with ESMTPS id ACEA065D2A for ; Wed, 13 Sep 2017 16:00:17 +0000 (UTC) Received: from mxback12g.mail.yandex.net (mxback12g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:91]) by forward106o.mail.yandex.net (Yandex) with ESMTP id 1DD6A7856E6 for ; Wed, 13 Sep 2017 19:00:16 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback12g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id VdkVCAWbTj-0FjG5iUw; Wed, 13 Sep 2017 19:00:16 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0FK4sBRQ; Wed, 13 Sep 2017 19:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 13 Sep 2017 19:00:05 +0300 Message-Id: <1505318407-21381-5-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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 16: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: 112484 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1253535qgf; Wed, 13 Sep 2017 11:29:02 -0700 (PDT) X-Google-Smtp-Source: AOwi7QBRpUbJLSBkmJNKG+71RnSBY5G8ULIoS4+8UHR62aQMldxsDDNsff8aYOF/zLRYWt+hlj6N X-Received: by 10.237.62.59 with SMTP id l56mr21238679qtf.261.1505327342099; Wed, 13 Sep 2017 11:29:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327342; cv=none; d=google.com; s=arc-20160816; b=YQtafSAnSUnU+KPfxjWdjWIChHehU6XgXnGVcQdSjwKqUfVulSnvmzDaV6TtRv/BxL aFfTkPbr5fAOagoHjVu/LC5sZDZkbQ55C1i/7W+CeJLTCzw7cxblBV+y2Z0QR5uPwxKt 4DJjayqoUAL5WJjVJDmj8L4p1WybSkc4JmSM58MRrH0AMC75hMiDXLD8iiEL5G+rzBOb uJwZ+kPT3oBEq8RhxT0EA9IdD52P/St7vXPQHVYuS/De/ACGmBXrMA7mDzJhPfg82l5e LHb7nLhSsU2Mz+YM/Q8DmalGNxXWEAoR59Cre0wMiHl3DXUCAKp1QtBdIumiAGCTmCkZ PooA== 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=ALhtB/waAoxmFHzmR6Cckf5duDSdRUpkYOxUcOvJ2iQ=; b=MllCB7GfXRLbYhrC2V73phDu27kiRQXkzZA56QfnfnXyQFHixyNeBs1E06QzIpXETn yzV7owMqr5LMC0+mM/16afr4Tiu6SPJtgyt9uAsZHkALbdBiQqY0S0Evn7/t0zhnsnCd DHWM1KU7ev6Rm/LIbUt6WZ64co99N1YVo1hXhmQh2YL9Y39jJGOFt1OtclKvkca+0TtE XKvLLfBOd1A0PHJyNyKPYirYyviVkM8cF/NPl9vhxare/3UMlnZsUgEWsIvZcdlDx4Jr CJtcpZFG74A+SeZUy26WauBNqezk/leAJ4TWG/lLtkMU+T/thE9PMxu0EqQeBK1KBM2l ni3A== 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 k190si4898708qkc.366.2017.09.13.11.29.01; Wed, 13 Sep 2017 11:29: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 B00E565C0C; Wed, 13 Sep 2017 18:29:01 +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 2E2C165F42; Wed, 13 Sep 2017 17:56:33 +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 3DEE765F3D; Wed, 13 Sep 2017 17:56:15 +0000 (UTC) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by lists.linaro.org (Postfix) with ESMTPS id 0DE7165D2D for ; Wed, 13 Sep 2017 16:00:18 +0000 (UTC) Received: from mxback8j.mail.yandex.net (mxback8j.mail.yandex.net [IPv6:2a02:6b8:0:1619::111]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 7EC8B45AAF for ; Wed, 13 Sep 2017 19:00:16 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback8j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id O3LFzR8KZb-0G4mO27W; Wed, 13 Sep 2017 19:00:16 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0GK4uaal; Wed, 13 Sep 2017 19:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 13 Sep 2017 19:00:06 +0300 Message-Id: <1505318407-21381-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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 16: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: 112485 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1254620qgf; Wed, 13 Sep 2017 11:30:12 -0700 (PDT) X-Google-Smtp-Source: AOwi7QAYXehmmR6PCJOGWs4mq8TbI8PBn2Be7aXZ6B7AQgzPTk4vaVG4a8c9Y1wwKeLbtKOZBYcj X-Received: by 10.237.56.67 with SMTP id j61mr11889463qte.192.1505327411885; Wed, 13 Sep 2017 11:30:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505327411; cv=none; d=google.com; s=arc-20160816; b=EYADImS03SNW2VR9GeTOIDoULUAxB/r1aYXki5D8dDv/RVd1b0f5J3dutDx/YmiYxF J9MuxLwVOlQmNeFaxPq1MuuCzkAf0z3FnmtRTDN6VbdNDetoSpQneAOugwJ0f+8HrCM9 R+MK6lbRT1KA9f7fS9r/eRXopBsJakwUj3Y3ILVRgRImgYmmN+we8YF+0KmJQnRT/WeA eIvuUpoT+y+2CSsy4V+gbw3Jj7s5DIHkPA39I+0Ib1+bWFfmxt/QWcfWRBcD1eQVnxQr /NLgvNFUwBHtupSCmB8U6YY1fy94IVlVgI+C8dmHjEwaXt/DhMFFJRWlLgb7ZM0YmoZh KERA== 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=PYp/W/cxthYknCuiYoUYMn4zXbTdkr51FTBWTEKOOVY=; b=si4/hNUK0KuWP0NcjulejxftIvVBCftQ0/6fEkzW780SLgN0f6iuCho4P0CbYuaXV/ etHfeHAbtgClgBVs32AmC/xFH3dhYULEbz2J3pNSCoXMcjH28RPUaUPwtA08/eVJC9Fo 6QyWkAy0K0ow0tU6VvBw69HRMn67wOj+Pk7ma5Qpn2fr+YB0EqqzCzv7yYd/hxGtRt6+ Xuw3HZdbLYLaAAyxvTqdQcdDCGCMqL3Zbh6y7RqWV9G/FyT4VFNH5vBP0aa+bUgwRkOI qeTfI5y4wqOOSxc3qWbWhY4UW+4yJjrfxYIZ4rGS7l3tqrJZ12Y8o/smbGPyzvbPOJIC OdOg== 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 f58si15787796qtk.538.2017.09.13.11.30.09; Wed, 13 Sep 2017 11:30:11 -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 3CF2765C30; Wed, 13 Sep 2017 18:30:09 +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 93FC765F55; Wed, 13 Sep 2017 17:57:06 +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 9F26465D2F; Wed, 13 Sep 2017 17:56:59 +0000 (UTC) Received: from forward102o.mail.yandex.net (forward102o.mail.yandex.net [37.140.190.182]) by lists.linaro.org (Postfix) with ESMTPS id 813B165D2F for ; Wed, 13 Sep 2017 16:00:18 +0000 (UTC) Received: from mxback14g.mail.yandex.net (mxback14g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:93]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 2873C5A04B23 for ; Wed, 13 Sep 2017 19:00:17 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback14g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id XSnbfyRXXL-0HLuiASV; Wed, 13 Sep 2017 19:00:17 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id cDi0ojkXeT-0GKqNDXi; Wed, 13 Sep 2017 19:00:16 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 13 Sep 2017 19:00:07 +0300 Message-Id: <1505318407-21381-7-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> References: <1505318407-21381-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 175 Subject: [lng-odp] [PATCH v4 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: 053d08aa14dd4077b17b983bac6b9930801fbcba **/ .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