From patchwork Fri May 4 06:36:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 908538 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40cj4m680Yz9s3G for ; Fri, 4 May 2018 16:38:00 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hW9JkfPt"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 40cj4l65rfzF0yB for ; Fri, 4 May 2018 16:37:59 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hW9JkfPt"; dkim-atps=neutral X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c05::242; helo=mail-pg0-x242.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hW9JkfPt"; dkim-atps=neutral Received: from mail-pg0-x242.google.com (mail-pg0-x242.google.com [IPv6:2607:f8b0:400e:c05::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40cj3s317TzF1PD for ; Fri, 4 May 2018 16:37:13 +1000 (AEST) Received: by mail-pg0-x242.google.com with SMTP id i29-v6so14792574pgn.12 for ; Thu, 03 May 2018 23:37:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=JH8VHrWAl9RqRB4gTB6VxR6Q48ZwlPQ52JMQef78WBg=; b=hW9JkfPtpOrIbvDh4fJ+sfL573+ZcQ5eSohVeT2D+BncBOmLdtzKkT9SKUFfhDfF3o ssj5h4oK9hEVoGoJ2I7nXmml4ogitx0qBA6fu9OZZedCZ8ZrFAdIqRHFSkLs43GnPbIa mhoRt4Tow6Ee25X31tRNavVHTgBHY8Dq2KW53fNfJ0SH0tEL2K6LU6GrckcKRT+UD/Bf V4s0jHVX8VPg7VO/VzDzRHiH+9VJYnT7Ph8d/KOKU+lMepAGVzgadbaetVAbUfrvFUal MbU0s5JH+aYjAf6aYdv78gi+FghGvZdKVmHH3I+UtvehmwWUm6FtqgT4BQ0me28imYyg YFKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=JH8VHrWAl9RqRB4gTB6VxR6Q48ZwlPQ52JMQef78WBg=; b=hngOxVawQ/N53k2oon7KFTP3Pnc8soZPkzLL59D/f0NqDBZyk9jvi4sJfeCBOswl2A jn3AZFJLR1BRLlHC1PHEhj3ufnMuuuMeD60P9EDtIzCfI2kkIYJKG0+UZODpVE2NVl8l TRc0qVDJ1tl1L9FT3bEMp6NsjIeGUH3OcKc7jpoNywSzBxxtgQ/J/NpfFMG8OnQZFIfd eERSQnuJK60VtyOOPkhr1AwdxvlAN0dRwhjrxJi+CkcpqQ7hUwwijAidMbU5fWvn+ifb +qbgVSBWZgEy7Dv/gS4n5/LeRjYPMVg0ZvKzIK7elBFOH6KutUW+uikEKLJrqqY+FSHm ZWvA== X-Gm-Message-State: ALQs6tDIk/hGMufYZN4Hb2jOhaw9QmcLSutjnsV1LcD7pRrTSiDkkmpo nA3qoKnOyJncOAuHryFO58vJGzoi X-Google-Smtp-Source: AB8JxZqqgZs+h3qVe9+eGyZIBOb0LrjbaNf4RVYd9COFyaXty0HF9HFnHeoMvf4eMMxT4rfAjNddqw== X-Received: by 10.98.12.202 with SMTP id 71mr25610749pfm.61.1525415831201; Thu, 03 May 2018 23:37:11 -0700 (PDT) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id v12sm30803453pfd.7.2018.05.03.23.37.08 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 May 2018 23:37:10 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 04 May 2018 16:07:06 +0930 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Fri, 4 May 2018 16:06:51 +0930 Message-Id: <20180504063651.7236-3-joel@jms.id.au> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180504063651.7236-1-joel@jms.id.au> References: <20180504063651.7236-1-joel@jms.id.au> Subject: [Skiboot] [PATCH 2/2] opal-ci: Additionally build with clang on Ubuntu 18.04 X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" Now that skiboot supports building with clang we can use a modern distro to cross compile using that compiler. Ubuntu 18.04 ships with clang 6, so start with that. Signed-off-by: Joel Stanley --- opal-ci/build-ubuntu-18.04.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/opal-ci/build-ubuntu-18.04.sh b/opal-ci/build-ubuntu-18.04.sh index 95f7473e6ff4..dc835507a38c 100755 --- a/opal-ci/build-ubuntu-18.04.sh +++ b/opal-ci/build-ubuntu-18.04.sh @@ -27,3 +27,8 @@ rm -rf builddir mkdir builddir make SRC=`pwd` -f ../Makefile -C builddir -j${MAKE_J} make clean + +echo "Building with clang..." +make clean +make -j${MAKE_J} CC=clang +make -j${MAKE_J} CC=clang check