From patchwork Wed Dec 5 12:35:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1008188 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="LlYHZ3ZP"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 438ysh4Btvz9s9G for ; Wed, 5 Dec 2018 23:36:56 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id D82B7C225B3; Wed, 5 Dec 2018 12:36:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id A09F8C225A9; Wed, 5 Dec 2018 12:36:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 11DBAC225A9; Wed, 5 Dec 2018 12:35:47 +0000 (UTC) Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) by lists.denx.de (Postfix) with ESMTPS id 82DFDC22590 for ; Wed, 5 Dec 2018 12:35:43 +0000 (UTC) Received: by mail-vs1-f71.google.com with SMTP id d132so10116744vsc.10 for ; Wed, 05 Dec 2018 04:35:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=sauI+6eiEnZCspiRKpKSi/2Gj+osGsAYnunrVeL3O2Y=; b=LlYHZ3ZPJ1lfaAFUEIgnyjZnA7bFHC1N7Ba+eLQ3RhFaLQGH0vjH9N9Kl7F4VjB5RI RXbnE4M8ClKjylkKSxg63DxdKym4HEfWKkzGcnTHksCyXaPTGYT3wM8eiZYv3JRvfm9E 1wMViM0o3CS+s5fCTguKF5rx4m3aHcwJYHrbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=sauI+6eiEnZCspiRKpKSi/2Gj+osGsAYnunrVeL3O2Y=; b=kpY9owlImpPApEzs3O7ooDRqd729kGtv12YsdFpDxRd/bA6P8CqkWsfc5ye0S3Tfgl 6JnlWVFjbTWj69TKwuESg+hRGvj4lFhU11P0KG6CtnGIR4uV2zcnLePqdIUM5oz8JJWJ bdlB6JJU7UBzhsiErAe7mSMzvpTtwqU4F4+gglVRGQOemX1Su7eVCHSo+DUrt1eP6m6p M2674TEQ06WT7jNSXlxCBd3I+RSBCOGVaL25T43jT3m8mnOxzguBV/Q/TyF/vyy8K7C1 qpKYJy9xOM6jJTloTZt3kDqDX6mPQtTfWtOc/L1MSn36R/xfFmsLJ3TziYj584cqdF7U c4/A== X-Gm-Message-State: AA+aEWYiSbjGOdm45TZ592z0PkK08w3TKJx2cZZcRH+0ttbRc6CkjWof ScakfmC3YKi74BZtVNxyUZBtKnrEAnh7MvzD X-Google-Smtp-Source: AFSGD/W/vWBLuV4uJ3gg8DHzzTncOKrgyom6HpK0hTh6C/8iOzxlETCtqdgFYGrDSMOz7SeydwTyA2jRBI0k0lZ1 X-Received: by 2002:ab0:2843:: with SMTP id c3mr20907020uaq.3.1544013342198; Wed, 05 Dec 2018 04:35:42 -0800 (PST) Date: Wed, 5 Dec 2018 05:35:28 -0700 In-Reply-To: <20181205123528.55097-1-sjg@chromium.org> Message-Id: <20181205123528.55097-3-sjg@chromium.org> Mime-Version: 1.0 References: <20181205123528.55097-1-sjg@chromium.org> X-Mailer: git-send-email 2.20.0.rc1.387.gf8505762e3-goog From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Stephen Warren Subject: [U-Boot] [PATCH 3/3] travis: Use buildman for building with clang X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Now that buildman supports clang, use it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini Reviewed-by: Tom Rini --- .travis.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index a061f02399c..59a00d065e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -109,16 +109,9 @@ script: # # From buildman, exit code 129 means warnings only. If we've been asked to # use clang only do one configuration. - - if [[ "${TOOLCHAIN}" == "clang" ]]; then + - if [[ "${BUILDMAN}" != "" ]]; then ret=0; - make O=../.bm-work/${TEST_PY_BD} HOSTCC=clang-7 CC=clang-7 -j$(nproc) - KCFLAGS=-Werror sandbox_config all || ret=$?; - if [[ $ret -ne 0 ]]; then - exit $ret; - fi; - elif [[ "${BUILDMAN}" != "" ]]; then - ret=0; - tools/buildman/buildman -P -E ${BUILDMAN} || ret=$?; + tools/buildman/buildman -P -E ${BUILDMAN} ${OVERRIDE}|| ret=$?; if [[ $ret -ne 0 && $ret -ne 129 ]]; then tools/buildman/buildman -sdeP ${BUILDMAN}; exit $ret; @@ -343,7 +336,7 @@ matrix: env: - TEST_PY_BD="sandbox" BUILDMAN="^sandbox$" - TOOLCHAIN="clang" + OVERRIDE="clang-7" - name: "test/py sandbox_spl" env: - TEST_PY_BD="sandbox_spl"