From nobody Wed May 15 00:20:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89064+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89064+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650353796; cv=none; d=zohomail.com; s=zohoarc; b=dfRhshLj67v0iR4QtQaVOq0rZBmyXwqynP29WlSx3BNdz4oGOa87TgCoLCqWekVGrkhVVA5NeOzGwH/kWCoL9X5aooAnj1ZQ+zyVzOT8vJSi1pmuLzTlQAWuwIR118e1XdnANT6KFgDUHdT8WIqxCUcKtzKYDk41G0OoNHFT7uo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650353796; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=ozcRf5mVqk2+i3ZzuhASvHa6zjz9rpEwDPyQI34hc6Y=; b=a2p5Uzv9G/rZCcxsvDpy64Wydu7gNFngUjZ5xw++oEwbFOLI3CnSS8tDm2jDQ0KTUFFNBY9TgvxWCaNx4wZrAEiX9PxEIqeYOysqV77K4wHWiocYl30smp8z6wVpIn1KxNTItj3ojQynqAjilnrR2if0bTgvA2YyjPUiG9Mdooo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89064+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1650353796822832.9060165126923; Tue, 19 Apr 2022 00:36:36 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bGeVYY1788612xPn8JutCUBH; Tue, 19 Apr 2022 00:36:36 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.1633.1650353795552847538 for ; Tue, 19 Apr 2022 00:36:35 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-635-nU20LFE0M_6KTfnrLeyD6g-1; Tue, 19 Apr 2022 03:36:29 -0400 X-MC-Unique: nU20LFE0M_6KTfnrLeyD6g-1 X-Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0FFC98038E3; Tue, 19 Apr 2022 07:36:29 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.192.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id 79A0F42B94E; Tue, 19 Apr 2022 07:36:26 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: afish@apple.com, ardb+tianocore@kernel.org, bob.c.feng@intel.com, Bret.Barkelew@microsoft.com, gaoliming@byosoft.com.cn, jiewen.yao@intel.com, jordan.l.justen@intel.com, kraxel@redhat.com, michael.d.kinney@intel.com, quic_llindhol@quicinc.com, ray.ni@intel.com, sami.mujawar@arm.com, sean.brogan@microsoft.com, yuwei.chen@intel.com, Oliver Steffen Subject: [edk2-devel] [PATCH 1/4] CI: don't force python verison (Linux only) Date: Tue, 19 Apr 2022 09:36:11 +0200 Message-Id: <20220419073614.166053-2-osteffen@redhat.com> In-Reply-To: <20220419073614.166053-1-osteffen@redhat.com> References: <20220419073614.166053-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: 5M9IGBI7cPmJPqimtt2WBbNtx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650353796; bh=muqDjyoIgT76T8yr7VCkajBFBMwOfeQTRt4UfUD+nXI=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=U4RdGid+8PWYBi7IY0F7nuRh12KG3Euzl6PmzeAW5Ug/kpDXi9lWbEcgXNPgPbFLEV7 Kw8r4/LiAygot5zmoWF7RlBI32YSoGQ1jPyp5N5wG+q1oKaqgsAyy4Ih6JBb+bWz+bWYv rLRQxn+MO7z/dxjvc3ahSIu2DfdgnogJ7Es= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650353797477100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the Python supplied by the container image. Signed-off-by: Oliver Steffen --- .azurepipelines/templates/platform-build-run-steps.yml | 1 + .azurepipelines/templates/pr-gate-steps.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azur= epipelines/templates/platform-build-run-steps.yml index 97e7faa26682..b0219bc61e67 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -44,6 +44,7 @@ steps: inputs: versionSpec: "3.8.x" architecture: "x64" + condition: not(eq('${{ parameters.tool_chain_tag }}', 'GCC5')) =20 - script: pip install -r pip-requirements.txt --upgrade displayName: 'Install/Upgrade pip modules' diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/= templates/pr-gate-steps.yml index 70c19a462194..f5cf5ff0376f 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -22,6 +22,7 @@ steps: inputs: versionSpec: '3.8.x' architecture: 'x64' + condition: not(eq('${{ parameters.tool_chain_tag }}', 'GCC5')) =20 - script: pip install -r pip-requirements.txt --upgrade displayName: 'Install/Upgrade pip modules' --=20 2.35.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89064): https://edk2.groups.io/g/devel/message/89064 Mute This Topic: https://groups.io/mt/90557222/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Wed May 15 00:20:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89067+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89067+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650353804; cv=none; d=zohomail.com; s=zohoarc; b=DPgKuMuVYAjme8fKAFEyNaGgoaHkWp7wDycYMYTE0K1lF+wzBLNItsOZ1Jr8iOl1pcrSDmAUdaJnWwrHQRfQ8QZ/qqeVJqmTLIKdD5JmwDdeOGlV7P2JCA1fAmaPbvg2r1AMfyNSKp9khRT5pEZ61gNfqGcodXpxddTng1aJ0KI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650353804; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=xEHFd8+l8oOT0eE6NwUU5fEn2Qh9dhywh8JNflAoT50=; b=dd3u7WTuy97a5q1hnECnVpLHUb6gddkaQ0U84m3eoi+G0cUAUoapQFWa3MKwSjFwI0iBj6ALw0wMa6Cw66R2V5DAIl+JsQ1NyYhdZIH+gbwlqUeS/HDT/MfxZvyTBZWI/vJu9Qfg4yGAdBiwZAwAc/m47pxTFWFS0/xakgyNCi0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89067+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1650353804111557.530737003846; Tue, 19 Apr 2022 00:36:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DVReYY1788612xd9wEkMM6ip; Tue, 19 Apr 2022 00:36:43 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web12.1617.1650353803093239330 for ; Tue, 19 Apr 2022 00:36:43 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-636-NLoX0fu1OwuXYycsAH2VKg-1; Tue, 19 Apr 2022 03:36:33 -0400 X-MC-Unique: NLoX0fu1OwuXYycsAH2VKg-1 X-Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A17B9949030; Tue, 19 Apr 2022 07:36:32 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.192.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4A02842B94E; Tue, 19 Apr 2022 07:36:29 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: afish@apple.com, ardb+tianocore@kernel.org, bob.c.feng@intel.com, Bret.Barkelew@microsoft.com, gaoliming@byosoft.com.cn, jiewen.yao@intel.com, jordan.l.justen@intel.com, kraxel@redhat.com, michael.d.kinney@intel.com, quic_llindhol@quicinc.com, ray.ni@intel.com, sami.mujawar@arm.com, sean.brogan@microsoft.com, yuwei.chen@intel.com, Oliver Steffen Subject: [edk2-devel] [PATCH 2/4] CI: add ~/.local/bin to PATH (Linux only) Date: Tue, 19 Apr 2022 09:36:12 +0200 Message-Id: <20220419073614.166053-3-osteffen@redhat.com> In-Reply-To: <20220419073614.166053-1-osteffen@redhat.com> References: <20220419073614.166053-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: EYHd1jkJFYC8U61rgyw47vegx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650353803; bh=uhVOfJ4x7gOuTZvtPeiEX/GbdPQCylyfNbdsc073mcI=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=rGtxcWkBRnVbXVZJhgHh18bZHWRD1X40vnAqBJI8SZhdZTAsFPhQysNCX8vixtDtMeh T6gz5CiUCTMX1X/WR4GbKRLDvXNXfkKNPGUAGAghJk9MjULYDS0vDCdBMJh6foOSg0eHL 9KTg9jmIt499ajL/D7B2QXRC7k+OYSmhOpA= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650353805522100005 Content-Type: text/plain; charset="utf-8"; x-default="true" Fix pip install. Signed-off-by: Oliver Steffen --- .azurepipelines/templates/platform-build-run-steps.yml | 6 ++++++ .azurepipelines/templates/pr-gate-steps.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.azurepipelines/templates/platform-build-run-steps.yml b/.azur= epipelines/templates/platform-build-run-steps.yml index b0219bc61e67..9d27f49a2b40 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -36,6 +36,12 @@ parameters: default: [] =20 steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=3D${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 diff --git a/.azurepipelines/templates/pr-gate-steps.yml b/.azurepipelines/= templates/pr-gate-steps.yml index f5cf5ff0376f..b78d2c4fff5d 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -14,6 +14,12 @@ parameters: build_archs: '' =20 steps: +- bash: | + echo "##vso[task.prependpath]${HOME}/.local/bin" + echo "new PATH=3D${PATH}" + displayName: Set PATH + condition: eq('${{ parameters.tool_chain_tag }}', 'GCC5') + - checkout: self clean: true fetchDepth: 1 --=20 2.35.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89067): https://edk2.groups.io/g/devel/message/89067 Mute This Topic: https://groups.io/mt/90557225/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Wed May 15 00:20:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89065+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89065+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650353798; cv=none; d=zohomail.com; s=zohoarc; b=PG62guPdWrnE2z6k8pJlBDOIXRx7QjE5zCFedPF0v+y0aF7VP6H5twAHMxREuleSGcElq0nCCM71jwLZdjskF8Xk/X4IICFLLpVCCX/h8h9w6rrpHhfc0nt+x0/4ld39+eu1RcqTY1sT+HcQEvwMup/WDXn3rEj/k2vqNzyf1pA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650353798; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=yCy3G2/A+PbOFxVknyTJxWaMyaM1h6EXnxbInpuzGt8=; b=jZtfsp61GNy5kULv2d1dmizVMZLG+zzRdpZn8dfIJSCH4kgt0742zP0HJcY045fdK6tesQbvDn18xVtDRspybAC0NpjW3zpbYWmCOmfr/uiTKh6bE3b9Qqq1DNyC2ssGRu4pKYWFb/ZhUuEGPrm2DgNy1cFvdrXBf3cDuZopkKA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89065+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1650353798875213.34511692042247; Tue, 19 Apr 2022 00:36:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 92UIYY1788612x1kUfWv41wY; Tue, 19 Apr 2022 00:36:38 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.1590.1650353797925288398 for ; Tue, 19 Apr 2022 00:36:38 -0700 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-64-oEcayI21PyS9krFxNWCW6Q-1; Tue, 19 Apr 2022 03:36:36 -0400 X-MC-Unique: oEcayI21PyS9krFxNWCW6Q-1 X-Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 70D612999B44; Tue, 19 Apr 2022 07:36:35 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.192.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id E4B9742B94E; Tue, 19 Apr 2022 07:36:32 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: afish@apple.com, ardb+tianocore@kernel.org, bob.c.feng@intel.com, Bret.Barkelew@microsoft.com, gaoliming@byosoft.com.cn, jiewen.yao@intel.com, jordan.l.justen@intel.com, kraxel@redhat.com, michael.d.kinney@intel.com, quic_llindhol@quicinc.com, ray.ni@intel.com, sami.mujawar@arm.com, sean.brogan@microsoft.com, yuwei.chen@intel.com, Oliver Steffen Subject: [edk2-devel] [PATCH 3/4] CI: Use Fedora 35 container (Linux only) Date: Tue, 19 Apr 2022 09:36:13 +0200 Message-Id: <20220419073614.166053-4-osteffen@redhat.com> In-Reply-To: <20220419073614.166053-1-osteffen@redhat.com> References: <20220419073614.166053-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: 41O6Cx4kFeiO7BAliAykCDrUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650353798; bh=KyKE77+awT1KgFnYHnHqjRxGfmXMsmrk3G2F5lJgIX0=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Uq+sJMXxlQpX3sPcodeoegMc2Bsx1KYG9MsYcGfosijXtUtpcKunlJBz6dP0IrqSWVk KPrl81fyT8ZF44s7Fq/TwG40VCsUNA5jVDIkRo0HCU695dWiq23cHGEJcZj7P2HHYyZ60 4moS48Gpt3ts81VxElr99j4+69QYrfNLEro= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650353799520100007 Content-Type: text/plain; charset="utf-8"; x-default="true" Run all Linux based jobs in a container, using a custom Fedora 35 image (gcc 11). The image is hosted on ghcr.io and the container-files are here: https://github.com/osteffenrh/edk2-build-images. Do not run apt-get to install qemu and gcc dependencies. Assume the container image provides these. Signed-off-by: Oliver Steffen --- .azurepipelines/templates/basetools-build-steps.yml | 9 --------- .azurepipelines/templates/pr-gate-build-job.yml | 3 +++ ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 6 ++---- EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 2 ++ OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml | 6 ++---- 5 files changed, 9 insertions(+), 17 deletions(-) diff --git a/.azurepipelines/templates/basetools-build-steps.yml b/.azurepi= pelines/templates/basetools-build-steps.yml index d8c108c6e212..a72758bc3395 100644 --- a/.azurepipelines/templates/basetools-build-steps.yml +++ b/.azurepipelines/templates/basetools-build-steps.yml @@ -10,15 +10,6 @@ parameters: tool_chain_tag: '' =20 steps: -- ${{ if contains(parameters.tool_chain_tag, 'GCC') }}: - - bash: sudo apt-get update - displayName: Update apt - condition: and(gt(variables.pkg_count, 0), succeeded()) - - - bash: sudo apt-get install gcc g++ make uuid-dev - displayName: Install required tools - condition: and(gt(variables.pkg_count, 0), succeeded()) - - task: CmdLine@1 displayName: Build Base Tools from source inputs: diff --git a/.azurepipelines/templates/pr-gate-build-job.yml b/.azurepipeli= nes/templates/pr-gate-build-job.yml index 69e4c50afdbb..716664391957 100644 --- a/.azurepipelines/templates/pr-gate-build-job.yml +++ b/.azurepipelines/templates/pr-gate-build-job.yml @@ -63,6 +63,9 @@ jobs: pool: vmImage: ${{ parameters.vm_image }} =20 + ${{ if contains(parameters.tool_chain_tag, 'GCC') }} + container: 'ghcr.io/osteffenrh/edk2-build-images/fedora-35:latest' + steps: - template: pr-gate-steps.yml parameters: diff --git a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/ArmVir= tPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index b07e3199f143..a0a79b7108c9 100644 --- a/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/ArmVirtPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/osteffenrh/edk2-build-images/fedora-35:latest' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -85,7 +87,3 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) diff --git a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/Emula= torPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml index 416c15e70840..589eea7d1985 100644 --- a/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/EmulatorPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -75,6 +75,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/osteffenrh/edk2-build-images/fedora-35:latest' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: diff --git a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml b/OvmfPkg/P= latformCI/.azurepipelines/Ubuntu-GCC5.yml index 6dec90d9fcaf..45a97cd246f7 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -166,6 +166,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/osteffenrh/edk2-build-images/fedora-35:latest' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -176,7 +178,3 @@ jobs: build_file: $(Build.File) build_flags: $(Build.Flags) run_flags: $(Run.Flags) - extra_install_step: - - bash: sudo apt-get install qemu - displayName: Install qemu - condition: and(gt(variables.pkg_count, 0), succeeded()) --=20 2.35.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89065): https://edk2.groups.io/g/devel/message/89065 Mute This Topic: https://groups.io/mt/90557223/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Wed May 15 00:20:47 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+89066+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89066+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1650353803; cv=none; d=zohomail.com; s=zohoarc; b=lX60aedvi9ZISkv2+06q2d+v8bjYsUl6x5e6LtABl7bLv+t1K7bg0ogj7J3qeilwTCvjcDzpX7CU35/u5EgStxyBRRb+A/donGbswZKQZgI3e3zDgN8GBqY1Nb56xs0OScWNpQemAwW0LRM3VI9KBXFUGr+/UPIMexj6m7Bpdno= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1650353803; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=FQ1I1GMmIicuiTm/6nbDGKYR8o5zH0jZV9qJ6lAJ828=; b=aDPETPepwv1khO1oL8LnGAF6Lp7Kk/dtSUB9psNoihpXOh1kEoFAeXQiMh6HzZJD8xLe528B3G66TSkGr8NB6LwRlO0nO44hQ3aQgv1IePEXaHfGf6fHHsy+5l19sEtuglvzGDY8QaYy3/kQipGryhZJRiiTpmaw6vQLCx9S0JQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+89066+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1650353803730176.39024311907747; Tue, 19 Apr 2022 00:36:43 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id vG8HYY1788612xR81YrTzX4L; Tue, 19 Apr 2022 00:36:43 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.1593.1650353802705694950 for ; Tue, 19 Apr 2022 00:36:42 -0700 X-Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-630-k4EVsqgIMUuut2sPUdjSBA-1; Tue, 19 Apr 2022 03:36:39 -0400 X-MC-Unique: k4EVsqgIMUuut2sPUdjSBA-1 X-Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4AE7229DD9B3; Tue, 19 Apr 2022 07:36:38 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.192.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id AED2842B94E; Tue, 19 Apr 2022 07:36:35 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: afish@apple.com, ardb+tianocore@kernel.org, bob.c.feng@intel.com, Bret.Barkelew@microsoft.com, gaoliming@byosoft.com.cn, jiewen.yao@intel.com, jordan.l.justen@intel.com, kraxel@redhat.com, michael.d.kinney@intel.com, quic_llindhol@quicinc.com, ray.ni@intel.com, sami.mujawar@arm.com, sean.brogan@microsoft.com, yuwei.chen@intel.com, Oliver Steffen Subject: [edk2-devel] [PATCH 4/4] BaseTools: Remove ext. gcc dependencies (Linux only) Date: Tue, 19 Apr 2022 09:36:14 +0200 Message-Id: <20220419073614.166053-5-osteffen@redhat.com> In-Reply-To: <20220419073614.166053-1-osteffen@redhat.com> References: <20220419073614.166053-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,osteffen@redhat.com X-Gm-Message-State: yuEr7Lozi6HqsGZbNE0LbVWox1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1650353803; bh=JQc3Yi/iFAaYCyZ+XqHWbnLHn4Pb1szCFetkhP35cSM=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=n/JgUF2UZcbbvt267MSjzJLP1HGBF8Yvkn+f2SfvJC+BabOaDRUfrR2QS61Cg7NZJXp VaCB2cD0AYec7jA2rQY1rBZze+vNOsX1s0luFPrw5f9NZY6HvAI9oLcJUkcXEckDuaMjZ 93K81rNpDu0ygkN5MCHuX75bvHUTQ6wpJr8= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1650353805550100006 Content-Type: text/plain; charset="utf-8"; x-default="true" Remove BaseTools/Bin/gcc*_linux_ext_dep.yaml to stop downloading gcc from external locations; use the toolchains provided by the container image instead. The image needs to set the GCC5_*_PREFIX accordingly. Signed-off-by: Oliver Steffen --- BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml | 21 ------------------ BaseTools/Bin/gcc_arm_linux_ext_dep.yaml | 21 ------------------ .../Bin/gcc_riscv64_unknown_ext_dep.yaml | 22 ------------------- 3 files changed, 64 deletions(-) delete mode 100644 BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml delete mode 100644 BaseTools/Bin/gcc_arm_linux_ext_dep.yaml delete mode 100644 BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml diff --git a/BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml b/BaseTools/Bin/g= cc_aarch64_linux_ext_dep.yaml deleted file mode 100644 index ff8a9e868100..000000000000 --- a/BaseTools/Bin/gcc_aarch64_linux_ext_dep.yaml +++ /dev/null @@ -1,21 +0,0 @@ -## @file -# Download GCC AARCH64 compiler from Arm's release site -# Set shell variable GCC5_AARCH64_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_aarch64_linux -# -# Copyright (c) Microsoft Corporation. -# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_aarch64_linux", - "type": "web", - "name": "gcc_aarch64_linux", - "source": "https://developer.arm.com/-/media/Files/downloads/gnu/11.2-20= 22.02/binrel/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu.tar.xz", - "version": "11.2-2022.02", - "sha256": "52dbac3eb71dbe0916f60a8c5ab9b7dc9b66b3ce513047baa09fae56234e5= 3f3", - "compression_type": "tar", - "internal_path": "/gcc-arm-11.2-2022.02-x86_64-aarch64-none-linux-gnu/", - "flags": ["set_shell_var", ], - "var_name": "GCC5_AARCH64_INSTALL" -} diff --git a/BaseTools/Bin/gcc_arm_linux_ext_dep.yaml b/BaseTools/Bin/gcc_a= rm_linux_ext_dep.yaml deleted file mode 100644 index 151cbfa4b532..000000000000 --- a/BaseTools/Bin/gcc_arm_linux_ext_dep.yaml +++ /dev/null @@ -1,21 +0,0 @@ -## @file -# Download GCC ARM compiler from Arm's release site -# Set shell variable GCC5_ARM_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_arm_linux -# -# Copyright (c) Microsoft Corporation. -# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_arm_linux", - "type": "web", - "name": "gcc_arm_linux", - "source": "https://developer.arm.com/-/media/Files/downloads/gnu/11.2-20= 22.02/binrel/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf.tar.xz", - "version": "11.2-2022.02", - "sha256": "c254f7199261fe76c32ef42187502839bda7efad0a66646cf739d074eff45= fad", - "compression_type": "tar", - "internal_path": "/gcc-arm-11.2-2022.02-x86_64-arm-none-linux-gnueabihf/= ", - "flags": ["set_shell_var", ], - "var_name": "GCC5_ARM_INSTALL" -} diff --git a/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml b/BaseTools/Bin= /gcc_riscv64_unknown_ext_dep.yaml deleted file mode 100644 index 8abbcd7ba040..000000000000 --- a/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml +++ /dev/null @@ -1,22 +0,0 @@ -## @file -# Download GCC RISCV64 compiler from RISC-V Organization release site -# Set shell variable GCC5_RISCV64_INSTALL to this folder -# -# This is only downloaded when a build activates scope gcc_riscv64_unknown -# -# Copyright (c) Microsoft Corporation. -# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -## -{ - "scope": "gcc_riscv64_unknown", - "type": "web", - "name": "gcc_riscv64_unknown", - "source": "https://raw.githubusercontent.com/riscv/riscv-uefi-edk2-docs/= master/gcc-riscv-edk2-ci-toolchain/gcc-riscv-9.2.0-2020.04-x86_64_riscv64-u= nknown-gnu.tar.xz", - "version": "9.2.0", - "compression_type": "tar", - "sha256": "28373643b69f0ce008273c3dc63f172aa1121952f1b9ae94d7485ac94af7f= 344", - "internal_path": "/gcc-riscv-9.2.0-2020.04-x86_64_riscv64-unknown-gnu", - "flags": ["set_shell_var", ], - "var_name": "GCC5_RISCV64_INSTALL" -} --=20 2.35.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#89066): https://edk2.groups.io/g/devel/message/89066 Mute This Topic: https://groups.io/mt/90557224/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-