From patchwork Sat May 16 18:54:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1291959 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=konsulko.com Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49PZGH66qVz9sTD for ; Sun, 17 May 2020 04:55:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 62DBC8176A; Sat, 16 May 2020 20:54:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id A66FB81775; Sat, 16 May 2020 20:54:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qv1-f66.google.com (mail-qv1-f66.google.com [209.85.219.66]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AB9B081767 for ; Sat, 16 May 2020 20:54:46 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qv1-f66.google.com with SMTP id r3so2790696qve.1 for ; Sat, 16 May 2020 11:54:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FxssnuNd2GFqLkwNBiXPbO6XbT/Tnj1kEFqnsJM8Igk=; b=b5ucnBJl9fXrE/3cZXCUADaeCznVHFsZYZH1U5ieH7gZgWXQBG08ITQkTQp4fDtrRE 8WLUGI2cOPbPzhXMXl0I1jxG4+ptMlm0ORjzbaFq6CbgBTcEuoIH9qno4jxUcHliDF1M XYbm9VmNyp/hVH/ChsFgUacmY3fF6iHmKD5uEwSyg3otP/jGXC5vcqj5zpwbAmgA5qku TZYsINddqWUouFgsDttaJS7AvzaYfLxHXP4PMhhUtpahY53pZxhm05Tn/yi1exhPJNtb mQDTDvGfUoZPBlzYebMFB49GdNZyCd1+5aX3O07gVZe1pMPhC5P/MNLV7zFANt6ZS/S3 dvPg== X-Gm-Message-State: AOAM530QvbDP4r0SwjAqS2O2Nr2KmoNFD7jVJkD0gOUM6xDMnPnj0UaL SmzRevZmvwOrYqiEjHi1ZHplG4uElg== X-Google-Smtp-Source: ABdhPJxa4eVlBmj6bkFEGuoc41VeAfWLLnKgnnRjd/l6Qsiwn0hZeeG3cEtvrfy6WDNbDmIAbpdFFw== X-Received: by 2002:a05:6214:70a:: with SMTP id b10mr9075757qvz.186.1589655284559; Sat, 16 May 2020 11:54:44 -0700 (PDT) Received: from bill-the-cat.local (2606-a000-1401-826f-d999-79e0-cca7-8feb.inf6.spectrum.com. [2606:a000:1401:826f:d999:79e0:cca7:8feb]) by smtp.gmail.com with ESMTPSA id i24sm5048002qtm.85.2020.05.16.11.54.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 May 2020 11:54:43 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Heinrich Schuchardt , Jonathan Gray , Kyle Evans Subject: [PATCH] Azure: Add 'tools-only' build for macOS X hosts Date: Sat, 16 May 2020 14:54:39 -0400 Message-Id: <20200516185439.10633-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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" X-Virus-Scanned: clamav-milter 0.102.2 at phobos.denx.de X-Virus-Status: Clean Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini ---- Note that at this time commit 3b4847cbee7c ("efi_loader: support building UEFI binaries on sandbox") is causing this to fail as non-GNU make does not support 'undefine' and there's not gmake nor do we need (seemingly) to use gmake otherwise. If we must, we can look in to 'brew install gmake' I think but I'm trying to have this be a typical BSD build environment. --- .azure-pipelines.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 5d9645451d47..09b79f4241f8 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -1,6 +1,7 @@ variables: windows_vm: vs2017-win2016 ubuntu_vm: ubuntu-18.04 + macos_vm: macOS-10.15 ci_runner_image: trini/u-boot-gitlab-ci-runner:bionic-20200403-27Apr2020 # Add '-u 0' options for Azure pipelines, otherwise we get "permission # denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer", @@ -44,6 +45,17 @@ jobs: # Tell MSYS2 not to ‘cd’ our startup directory to HOME CHERE_INVOKING: yes + - job: tools_only_macOS + displayName: 'Ensure host tools build for macOS X' + pool: + vmImage: $(macos_vm) + steps: + - script: | + make tools-only_config tools-only NO_SDL=1 \ + HOSTCFLAGS="-I/usr/local/opt/openssl@1.1/include" \ + HOSTLDFLAGS="-L/usr/local/opt/openssl@1.1/lib" \ + -j$(sysctl -n hw.logicalcpu) + - job: cppcheck displayName: 'Static code analysis with cppcheck' pool: