From patchwork Wed Dec 12 05:02: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: 1011560 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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43F4V04rDZz9s47 for ; Wed, 12 Dec 2018 16:04:08 +1100 (AEDT) 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="OJKfioXw"; 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 43F4V02D6mzDqwB for ; Wed, 12 Dec 2018 16:04:08 +1100 (AEDT) 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="OJKfioXw"; 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:4864:20::430; helo=mail-pf1-x430.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="OJKfioXw"; dkim-atps=neutral Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) (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 43F4T325tbzDqww for ; Wed, 12 Dec 2018 16:03:19 +1100 (AEDT) Received: by mail-pf1-x430.google.com with SMTP id b85so8283447pfc.3 for ; Tue, 11 Dec 2018 21:03:18 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=bcSWmB/HqWQ++Scl75a4w1X25KjmHhm2GWwwcIRJYNs=; b=OJKfioXwPJNjf2zm0G6xRleDgpAmi4ZLO/QIxzOtxCfn11oxJhZT55lteHZkcDEi/z jHONeM2SlMu4a4SOjhyElDx9EJA2y7hZsWP0Ty5LxfP8s+wFzkSqaDeSwcttj/a3uNGn Xp1VQsba4jmOvzLpxX/x+LxCn+pZez1k5MmiRRB0QbOg1NUuCFqpWdfMOkrWp++Q3RoA WPJw+WHy+RJO1BOeQAOCOe2aN83q03q8bGpy/AojcNxJFKd5f+nfAGbgR/biKUZ0i4k6 DMI+5g4RiynXN9MsTu90GrIMLXf/89OkABI9C/v0hNtR7p3r8ubVz6DCc7SgL3+uuSbX SGUQ== 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:mime-version:content-transfer-encoding; bh=bcSWmB/HqWQ++Scl75a4w1X25KjmHhm2GWwwcIRJYNs=; b=IfPC2aEoup+zgtv2g2GtLIe/H59DEzugjIVUcLBTgBx2icO31ITJXe58CPBRCUGEbL Zr23rldr/LpoWDg3cheq3kFDqShwP0H6BJ9unT+s1tVTpyflQ6JsGaziY+1Ga4Zb9CcZ KPTJQn8PypdqQBp2S9+HvEXOlP32KjlEkY0Sg19BCPSQsOyg4KjTOjxjRK+itk3Cd+dM Ak1XAY/bmmz4w09jCjE1J+KKEk1Kmqc5gIiQNg2iQebPhfbHpMSE29Rpqgn0o1+U9i42 mCvyhdhqwsEh6kcEaZoGO6K2DRouvbp60aKQrSH4yezAx+taoBSWtyFu+HN5CzBzHBAL 6KYA== X-Gm-Message-State: AA+aEWbDQIYsV5hP2/gnRgng9IJnUqXGgKNEP0mnGS/pyIG7w2S/k+YV tEUWJSEcPVrnXNFAHk0HWYtS7cb0 X-Google-Smtp-Source: AFSGD/Uu3s5SadNjdeOolWKhFywSb+rs6LKOaMEYV1BJBQr9jYxfYNLm6kot6yoBQ07GNyfrM6a8oA== X-Received: by 2002:a62:931a:: with SMTP id b26mr19808951pfe.65.1544590996787; Tue, 11 Dec 2018 21:03:16 -0800 (PST) Received: from aurora.jms.id.au ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id e23sm24441105pfh.68.2018.12.11.21.03.14 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 11 Dec 2018 21:03:16 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 12 Dec 2018 15:33:11 +1030 From: Joel Stanley To: skiboot@lists.ozlabs.org Date: Wed, 12 Dec 2018 15:32:51 +1030 Message-Id: <20181212050258.10103-3-joel@jms.id.au> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181212050258.10103-1-joel@jms.id.au> References: <20181212050258.10103-1-joel@jms.id.au> MIME-Version: 1.0 Subject: [Skiboot] [PATCH v2 2/9] ci: Disable GCOV builds in ubuntu-latest X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" They are known to be broken with GCC 8.2: https://github.com/open-power/skiboot/issues/206 Signed-off-by: Joel Stanley --- opal-ci/build-ubuntu-latest.sh | 37 +++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) mode change 120000 => 100755 opal-ci/build-ubuntu-latest.sh diff --git a/opal-ci/build-ubuntu-latest.sh b/opal-ci/build-ubuntu-latest.sh deleted file mode 120000 index d8840a9c9d37..000000000000 --- a/opal-ci/build-ubuntu-latest.sh +++ /dev/null @@ -1 +0,0 @@ -build-ubuntu-18.04.sh \ No newline at end of file diff --git a/opal-ci/build-ubuntu-latest.sh b/opal-ci/build-ubuntu-latest.sh new file mode 100755 index 000000000000..1b79b4656f78 --- /dev/null +++ b/opal-ci/build-ubuntu-latest.sh @@ -0,0 +1,36 @@ +#!/bin/bash + +set -uo pipefail +set -e +set -vx + +MAKE_J=$(nproc) + +export CROSS="ccache powerpc64le-linux-gnu-" + +make -j${MAKE_J} all +./opal-ci/fetch-debian-jessie-installer.sh +make -j${MAKE_J} check +(make clean; cd external/gard && CROSS= make -j${MAKE_J}) +( cd external/pflash; + echo "Building for ARM..." + make clean && make distclean + CROSS_COMPILE=arm-linux-gnueabi- make || { echo "ARM build failed"; exit 1; } +) +(cd external/pflash; make clean && make distclean && make) +# GCOV build disabled for GCC 8.2 +# https://github.com/open-power/skiboot/issues/206 +# make clean +# SKIBOOT_GCOV=1 make -j${MAKE_J} +# SKIBOOT_GCOV=1 make -j${MAKE_J} check + +make clean +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