From patchwork Wed Jan 31 20:00:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 126407 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1050381ljc; Wed, 31 Jan 2018 12:02:36 -0800 (PST) X-Google-Smtp-Source: AH8x2271nX4FRjcDG8jWFQLNTbETMJh/N1UTfAspVBj6YAAm5ONixIZuzXhY+FgwLwKGvAIafVGy X-Received: by 10.200.16.19 with SMTP id z19mr54870760qti.10.1517428956289; Wed, 31 Jan 2018 12:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517428956; cv=none; d=google.com; s=arc-20160816; b=wNM5ED2SrjHDl/gH+jnSTye+MZ0rSgNxFAzyNK86hZLVxJSQendZsGX6DoRIUdi6IG GcBLPEUq06UGJFWv1XiufLVoqt0AO0Nh+o8X7nx3LmWv0cA1NEW+e9aWDVfVKcZaLY+Z KKaaw+6xLQaVbQISy/6VE0oKZmkYnxr3XSxAvtyOPr9SIQLTxugsgNI+UDuJPntIM07+ hlPq1xnAPy3SxoJ7cAiq25WOOizJxw2b4/c/UF9ntPaoxDD52qXsZjnwJx0V0h2+cqva /OFNj/CzquwbKySznuu/udXgby9HjM8841GWVF29Btgk1csxOTZahnMgYytrlUgYqSNX lApA== 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=PzC0CRdpdn2hKkdWpOXHH+FLT6Jngw5cn2335kbt+mo=; b=S4XTaTQ3Z3Xv+LO0xkpVdixsaxHcSx9ORp6mFdWvyo5SB0JeEXFhiRVIzFiK7xkqv6 rGK6J+AL6to4Eol/Et0sSqnXb/qNCNk3blf3+4RJw0NIPLJa7WIUWDjDLL9cpNTVIwgR mOaBI1BowgYw+w6fHn0FxExiEFMwqHmcwVvB4kB0926GYef1zjZm1oZWbpwlIMx2im8f 8IqhPLyQBLuto89HCf7oafP825+8BpadjGn/UWWKVYsdJmmQuJnGtfU38LX8Bk0NllQE WPxxG+bHHDXTkjHgrSg3ZTDAp8NQBebhq7TBZFWZjnb6R4cVNr8gA2oGoh2aME0Y1hwM DLlg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id r78si3343952qka.434.2018.01.31.12.02.36; Wed, 31 Jan 2018 12:02:36 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id E1C3561751; Wed, 31 Jan 2018 20:02: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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 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 D40FF61760; Wed, 31 Jan 2018 20:00: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 E783A6173F; Wed, 31 Jan 2018 20:00:37 +0000 (UTC) Received: from forward101j.mail.yandex.net (forward101j.mail.yandex.net [5.45.198.241]) by lists.linaro.org (Postfix) with ESMTPS id C0345610A7 for ; Wed, 31 Jan 2018 20:00:31 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward101j.mail.yandex.net (Yandex) with ESMTP id 37B951244889 for ; Wed, 31 Jan 2018 23:00:30 +0300 (MSK) Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [2a02:6b8:0:1a2d::26]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id gzYcDQ8Ue1-0UDunlds; Wed, 31 Jan 2018 23:00:30 +0300 Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id MedB8d5Qzx-0Tq4MU4E; Wed, 31 Jan 2018 23:00:29 +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, 31 Jan 2018 23:00:20 +0300 Message-Id: <1517428820-8373-6-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517428820-8373-1-git-send-email-odpbot@yandex.ru> References: <1517428820-8373-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 441 Subject: [lng-odp] [PATCH v5 5/5] shippable: set CXX for clang case 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 441 (lumag:shippable-ci) ** https://github.com/Linaro/odp/pull/441 ** Patch: https://github.com/Linaro/odp/pull/441.patch ** Base sha: b95ccd3db6eeb7358a877541747e06354429acdd ** Merge commit sha: eb9e424b83553d93732577a9ba50c59a684ca7ea **/ .shippable.yml | 1 + scripts/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/.shippable.yml b/.shippable.yml index 2469c82f2..3ab930b3f 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -36,6 +36,7 @@ build: - sudo mount -t hugetlbfs nodev /mnt/huge - mkdir -p /dev/shm/odp - ./bootstrap + - if [ "${CC#clang}" != "${CC}" ] ; then export CXX="${CC/clang/clang++}"; fi - ./configure --disable-test-perf CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" LDFLAGS="--coverage" - make V=1 - sudo env ODP_SHM_DIR=/dev/shm/odp ODP_TEST_OUT_XML=yes make check -k diff --git a/scripts/Dockerfile b/scripts/Dockerfile index 012c1a070..dc4411aa1 100644 --- a/scripts/Dockerfile +++ b/scripts/Dockerfile @@ -26,3 +26,4 @@ RUN sudo apt-get update && sudo apt-get install -yy \ RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10 RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang +RUN sudo ln -s /usr/bin/clang++-3.8 /usr/bin/clang++