From nobody Fri May 3 13:25:51 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+92304+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+92304+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1660133010; cv=none; d=zohomail.com; s=zohoarc; b=S7xyJUZjyBjzy4WyLgo8Ok7YQmCRinPFJ3pnWEEovQRHeId9lnqgRU80w/HnvwImir/LdTO9Avc2B7mB/SMZOSOqTilSPnJgO43eo262Sn3fs0PgA9EHiSB80LWq/WWMLwjveRK6npPXHLUp/QapqrIhOYAAzyNmxMkNK6wq1as= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660133010; 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=uwtXYkifubBOlluSWDQYTqpRgTX1EBZ5gz36GPeHF5o=; b=bNAhrA7VHOd8WF6jpHp1b061pdj0V5kYrxOaX8+UDT5EiTBobtFP4eML/uWVU6CHXYu1BaAP8502397D8je6c4pmbTIGeWm4FJQaiPxAEl+vIYNa+M0z0pF2LhGCeBftaGgOPrb8kYYT6R1QLeyA/g3sFO6vMN+1IvB+kbNHj8A= 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+92304+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 1660133010817622.5509741947128; Wed, 10 Aug 2022 05:03:30 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id NjZtYY1788612xYWFEp2eoWH; Wed, 10 Aug 2022 05:03:30 -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.web09.4892.1660133009220254317 for ; Wed, 10 Aug 2022 05:03:29 -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-665-hqm_4eRiPtqtWB-E5arqlg-1; Wed, 10 Aug 2022 08:03:24 -0400 X-MC-Unique: hqm_4eRiPtqtWB-E5arqlg-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E47C629ABA17; Wed, 10 Aug 2022 12:03:23 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 17D861121314; Wed, 10 Aug 2022 12:03:19 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Bret Barkelew , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Rahul Kumar , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen Subject: [edk2-devel] [PATCH v4 1/4] CI: don't force python verison (Linux only) Date: Wed, 10 Aug 2022 14:03:10 +0200 Message-Id: <20220810120313.203609-2-osteffen@redhat.com> In-Reply-To: <20220810120313.203609-1-osteffen@redhat.com> References: <20220810120313.203609-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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: q2hu3ISM2eTJunIqvQAH4J2Gx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660133010; bh=YHNrBMxle5DgO2IfgRSJxCvJTe6JavX6D8vjfF9qjl0=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=nTEyjC0k6+xRjkp25NxtaOJDFdAG0mrmh/oo9P4yjUlMJuWeezwg5rk3noX/384vFcJ /X+Mcyjni/PX7+i+x2NETtcckkYpH7VW3XR1uttqThuVDBYlfJLcBs9cgdLDzRWNUHqER hLOV/lvT5jH/0bqah6kQcaLUvZwciVa3Pv0= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660133012878100007 Content-Type: text/plain; charset="utf-8"; x-default="true" Use the Python supplied by the container image. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann --- .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.37.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 (#92304): https://edk2.groups.io/g/devel/message/92304 Mute This Topic: https://groups.io/mt/92934458/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 Fri May 3 13:25:51 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+92305+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+92305+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1660133015; cv=none; d=zohomail.com; s=zohoarc; b=EDAbbJjJOhEJiPd4Nzp3zQh4cAPg2J8WfaRljd4xwd87w8YTJofwJrYsQdfbPQojvIVR6gQRX3dlIZWosJL4HyzLHcSTa7eJ/whJqIG+H6ROBoqc82F8MPwpmw95GH4dZ5Cm5Z99nAQIg++sm4lPtNto2RFYjeBj1L45vD3xrHU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660133015; 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=TK9jP+Gc/sgy5jfbkFUacV6lqDg2QaVJormN3Nd5W/o=; b=kzdTTYk6AEVJO3EzOBpjen+9Pfs8+CYyZDryNhinPSBjOCnUdheFlhtOCDorIvehbcHgUS/KkHmoXV9fiEfrMpR7o1GH9MwvXKhbl1WkRS29kV23CO/M77wxPc+unUVEDdTPuvmxHVLSC58XBhX9nfjH29rSxhnmiYrnwXNjeUo= 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+92305+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 1660133015276540.3380165367704; Wed, 10 Aug 2022 05:03:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ddSQYY1788612xkQgmlJgDwl; Wed, 10 Aug 2022 05:03:35 -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.web09.4895.1660133014259336803 for ; Wed, 10 Aug 2022 05:03:34 -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-479-c4sby2MaNtGMENK-soKc_Q-1; Wed, 10 Aug 2022 08:03:28 -0400 X-MC-Unique: c4sby2MaNtGMENK-soKc_Q-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6B05B8039BF; Wed, 10 Aug 2022 12:03:27 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2ED4D1121314; Wed, 10 Aug 2022 12:03:24 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Bret Barkelew , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Rahul Kumar , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen Subject: [edk2-devel] [PATCH v4 2/4] CI: add ~/.local/bin to PATH (Linux only) Date: Wed, 10 Aug 2022 14:03:11 +0200 Message-Id: <20220810120313.203609-3-osteffen@redhat.com> In-Reply-To: <20220810120313.203609-1-osteffen@redhat.com> References: <20220810120313.203609-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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: DIA10RzlwuyNPjtdqShf7Ve4x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660133015; bh=XmWLrAqzvNHkZT2a5oL95a0IVJ9dfcda8k+VftwUSrU=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=PVj6fTdoHvwXC63WqBUgWvu5wBK+uShGc55KONFi21xYY1+CARti8duoq8UTWM22wC7 621CJwbIgoVRZrYh0ASt+/tOl3Lwf6D84FkQ79eDetwFnpS9OP/QRqTtFRu2v6YNXVvuf 3wfHYhl63ehFsqm8WzOMsiVbq3U1XPyeDcI= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660133016928100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Fix pip install. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann --- .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.37.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 (#92305): https://edk2.groups.io/g/devel/message/92305 Mute This Topic: https://groups.io/mt/92934462/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 Fri May 3 13:25:51 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+92307+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+92307+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1660133019; cv=none; d=zohomail.com; s=zohoarc; b=WUpixNEdhjMSg0hgpSvKhAfJGb6X2oN3CgaONdOI3M7WNatnPs5XqWX8jGYQB9kdCdYaRfeUce//YClPnRrv10mPn5tFDYQPOpyOgB9PF+bYvVIXk+SIwlGap830XPFrbf4UBLijhl+VEe/WZ0qsrVRRs0gfqjTnfPjn51/wGEw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660133019; 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=gQAkNOHUyswcBQDM6+VTO71QALl3i8tiLvRfX8C2ZeM=; b=TVeI4hdhZWvy6YlcYvrLGxOsSzHd0ZClpjnuwbahEVAjZwQH1YvaXD2nfu1sCrVLFslF/vst4TAsR084prNeWQHQvHRSrY0lrla2iO8gmo803PoH7EslhyuF+2D07Bjdrrk15hiL+cgdc8wlZkn0lbDc5w93dgLMVJtdLGUc4Vc= 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+92307+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 1660133019091863.6686833529276; Wed, 10 Aug 2022 05:03:39 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id zlMsYY1788612xbJjmBrO1co; Wed, 10 Aug 2022 05:03:38 -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.web09.4896.1660133018105674698 for ; Wed, 10 Aug 2022 05:03:38 -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-259-EFki5o2hNPWFK5FbBLls4A-1; Wed, 10 Aug 2022 08:03:32 -0400 X-MC-Unique: EFki5o2hNPWFK5FbBLls4A-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1C52F805B9A; Wed, 10 Aug 2022 12:03:31 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id BDF691121314; Wed, 10 Aug 2022 12:03:27 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Bret Barkelew , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Rahul Kumar , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen Subject: [edk2-devel] [PATCH v4 3/4] CI: Use Fedora 35 container (Linux only) Date: Wed, 10 Aug 2022 14:03:12 +0200 Message-Id: <20220810120313.203609-4-osteffen@redhat.com> In-Reply-To: <20220810120313.203609-1-osteffen@redhat.com> References: <20220810120313.203609-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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: xnVJme6jQJWIA83obrn2VZzsx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660133018; bh=SYrI3aUcIgWBuyLyXF4OAVqZmD/JjinWs42oEOBSG8w=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=A+pUTwZCup6VtS4tMFcBzILaxyFsC1D27l4QumK/+0CVy2pQ2GShJjMWAnNv18cwaMv Q3+0vs4D6bdtb1wcKRf8RNllPAXAroEPkf6kGl0Wh7Ep/KQSW7JX+repxie3cekH9JIMy WorqFs0ASFsL8kiCzFEmB0++rtWTcCYnDp4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660133021018100009 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 Dockerfiles are here: https://github.com/tianocore/containers The version numbers of gcc, iasl, and nasm are pinned to avoid unintended upgrades during image rebuild. Do not run apt-get in CI jobs to install qemu and gcc dependencies. Assume the container image provides these. Signed-off-by: Oliver Steffen Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann --- .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 0e4ad019bf03..2a1291699c77 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/tianocore/containers/fedora-35-test:cea91ec' + 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..7a1ea8c46c49 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/tianocore/containers/fedora-35-test:cea91ec' + 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..b9472189f25c 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/tianocore/containers/fedora-35-test:cea91ec' + 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 7160d95f7e04..81cb9705c356 100644 --- a/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml +++ b/OvmfPkg/PlatformCI/.azurepipelines/Ubuntu-GCC5.yml @@ -177,6 +177,8 @@ jobs: pool: vmImage: $(vm_image) =20 + container: 'ghcr.io/tianocore/containers/fedora-35-test:cea91ec' + steps: - template: ../../../.azurepipelines/templates/platform-build-run-step= s.yml parameters: @@ -187,7 +189,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.37.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 (#92307): https://edk2.groups.io/g/devel/message/92307 Mute This Topic: https://groups.io/mt/92934465/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 Fri May 3 13:25:51 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+92306+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+92306+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1660133018; cv=none; d=zohomail.com; s=zohoarc; b=IsUo5CTVbIrdl3mkyyG9GUfEYFK0KSYLVfwIC9KAY9jrJOK9zBhL6wxm6zoyeaQihY/rgSFUvDSDyIxKA0TXD9Olrpv3W373XCmD8GapjSGq8I8x63bJBu12YT4v28rfp2tz6aFmNbHsi3aOh9+6H3XFokT/kALeDuPvkIv5KvA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660133018; 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=HdHK0DXlqoRPvCs2dFYxmoJt6xvBUyPnRIQvSYYNjzU=; b=B7CINJxz9pbgeWI2ZacIm/76uejbV2lGPzBELADDBSkmXIIdCKpxcKVR6jyr8y0TqtP3wK/rXDLANpF2kSny24eG0pycd07mhlxGl4XwGZzUngee0rtv82KwD3Ha6YHsAC76Hr0lYpfc+XTvojnw6sw7QyCLYu5NiL5WOZF0i5M= 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+92306+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 1660133018472867.7571210180421; Wed, 10 Aug 2022 05:03:38 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id ECF1YY1788612xAcEIhMVQpp; Wed, 10 Aug 2022 05:03: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.web12.4881.1660133017425821094 for ; Wed, 10 Aug 2022 05:03:37 -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-618-J3vxJ-1NPj2nELY5BUpeOQ-1; Wed, 10 Aug 2022 08:03:35 -0400 X-MC-Unique: J3vxJ-1NPj2nELY5BUpeOQ-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A9E538039CD; Wed, 10 Aug 2022 12:03:34 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.179]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5B5C31121314; Wed, 10 Aug 2022 12:03:31 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Bret Barkelew , Eric Dong , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Rahul Kumar , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen Subject: [edk2-devel] [PATCH v4 4/4] BaseTools: Remove ext. gcc dependencies (Linux only) Date: Wed, 10 Aug 2022 14:03:13 +0200 Message-Id: <20220810120313.203609-5-osteffen@redhat.com> In-Reply-To: <20220810120313.203609-1-osteffen@redhat.com> References: <20220810120313.203609-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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: Qvb9GMchX9E9saCAE7dOZHX3x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1660133018; bh=rGeR2WnuqHHR2sALBROMcsqRO0CH0RiuwdCEFStW8zw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=H798R3aA7HwBcWWI0CTUP4vgt7/m74hy6hkMZGvocqplQBvbXjbBn/brKLTAqTOZd5d 7SUHGf+mMAyTJ3XZVao6h7cJkGdCgNH/9/OkHrZfTUieqaCexhAYPf4HXYJ/Py7ZaF3A9 YDUistlbetEY1AfUS5Bbmyb8BzgjmyuqAN4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1660133018945100005 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 Acked-by: Ard Biesheuvel Acked-by: Gerd Hoffmann Tested-by: Daniel Schaefer --- 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.37.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 (#92306): https://edk2.groups.io/g/devel/message/92306 Mute This Topic: https://groups.io/mt/92934464/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-