From nobody Thu Mar 28 21:22:20 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+93996+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+93996+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663685144; cv=none; d=zohomail.com; s=zohoarc; b=Wd+EB0OLWlBn3ZQbFtNq+6mcnrqnTrS4TN6yzG0Wop3j0hSzmkKyMwTICgX22fZEolELZanN8pFF+kIKvAbM0TGjt6Vjnv85HUqM+rzor89itMj4J/KFTZPzfxiSmecyC7RHi9A8eXeJbMAsv6R9CEkleVCAajc7JDtPQQNfshI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663685144; 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=8CzGtOGD4S66mOOkm1yB8jikCYLjKa7FSu6jnavgxA8=; b=nPUMUhNicYGoJdH4XqCc1u26/4Ud1/ljT1g9xHpJ/atzFYkhb2gTJ3QIxXfWpc+LCkj1K3BiufP+ED4XwbVZPChBgD/u9iPxDAfE87heKr3pKG0Of7arBKSoOd3D8LTenJ2/JY7vZ5z9z4aSOjxjS2qYGsYQjF9vFdANEja3dwI= 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+93996+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 166368514484397.6654308310176; Tue, 20 Sep 2022 07:45:44 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id KA8yYY1788612x4zNkl8ZwbK; Tue, 20 Sep 2022 07:45:44 -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.web10.12902.1663685143486969292 for ; Tue, 20 Sep 2022 07:45:43 -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-394-CrOkyM3QPaKLpQRd5IeqSA-1; Tue, 20 Sep 2022 10:45:39 -0400 X-MC-Unique: CrOkyM3QPaKLpQRd5IeqSA-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C80E4299E75F; Tue, 20 Sep 2022 14:45:38 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4518492B04; Tue, 20 Sep 2022 14:45:35 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski Subject: [edk2-devel] [PATCH v5 1/4] CI: don't force python verison (Linux only) Date: Tue, 20 Sep 2022 16:45:21 +0200 Message-Id: <20220920144524.1098189-2-osteffen@redhat.com> In-Reply-To: <20220920144524.1098189-1-osteffen@redhat.com> References: <20220920144524.1098189-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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: o2nmhoGi5RyJXKC2ANsSf3UYx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663685144; bh=XC+B/DWnMAHXrWt2YET0tDTQAP5GuP9KOpcDdhlnZMQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=Tpo7Ud1o2HvYKswq/ye8Qf1QU5fRli+Vy9MgeqddAAcig2HkGBjRtYxKCDzSXLh8IGN puqH5eTq2GxDFT2z9PZcjhIlw/vAOAnQV4uW0XvruBgK59ekvr+h4+8KddtrGWM6BCRZO Nxwitu4ZUmzX/clsD4IL/zM2TCcGTDHjH9Q= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663685145501100005 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 40a31a509fc5..3c16fa981d5a 100644 --- a/.azurepipelines/templates/platform-build-run-steps.yml +++ b/.azurepipelines/templates/platform-build-run-steps.yml @@ -44,6 +44,7 @@ steps: inputs: versionSpec: ">=3D3.10.6" 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 cb431e53fcd1..df8802718d99 100644 --- a/.azurepipelines/templates/pr-gate-steps.yml +++ b/.azurepipelines/templates/pr-gate-steps.yml @@ -22,6 +22,7 @@ steps: inputs: versionSpec: '>=3D3.10.6' 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.3 -=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 (#93996): https://edk2.groups.io/g/devel/message/93996 Mute This Topic: https://groups.io/mt/93805165/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 Thu Mar 28 21:22:20 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+93997+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+93997+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663685148; cv=none; d=zohomail.com; s=zohoarc; b=J7Bs8D05Bh6hoDoZyEfbMn0K1Sh/V5aHLZukoagLK0VbaI5s+EuZXLqe5O51LOxrlXGj/7ysbNKRvwm+TJgo2ozBznDtRplyiQ34lz9TTM8Rq9MIpoHtGLMki4sOxrszXzl8zu0vVXSe6G39ryR5sdR6M0IfmjkcB/p055s5XIQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663685148; 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=iSMImy0zZiZrGmMt1GmzIFjCpVCdbc0qk7gHsjlbdKs=; b=k2nn22sfG2oSI2cNmn5aWmjsjpCiWZm6nIkH2/t9ltItndn/2cJQr9MDSFnRhz4tQZVozUk/OVaJnW7hoz/jNR7yvsplzwyHS+6vKtdqCaSXGT3S6W9NJrukExvZ6dfYwJqbCa6vNVzYvVruBY9Z+XbVgG81zmLbiKgMaEyRipM= 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+93997+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 1663685148427825.7429234529659; Tue, 20 Sep 2022 07:45:48 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id rKUTYY1788612xQsYFetVYBe; Tue, 20 Sep 2022 07:45:48 -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.web11.13064.1663685147103684301 for ; Tue, 20 Sep 2022 07:45:47 -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-369-8PFAQwr5PLC7rfJ1EZhKWA-1; Tue, 20 Sep 2022 10:45:43 -0400 X-MC-Unique: 8PFAQwr5PLC7rfJ1EZhKWA-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 97A3429AB41F; Tue, 20 Sep 2022 14:45:42 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2020C492B04; Tue, 20 Sep 2022 14:45:38 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski Subject: [edk2-devel] [PATCH v5 2/4] CI: add ~/.local/bin to PATH (Linux only) Date: Tue, 20 Sep 2022 16:45:22 +0200 Message-Id: <20220920144524.1098189-3-osteffen@redhat.com> In-Reply-To: <20220920144524.1098189-1-osteffen@redhat.com> References: <20220920144524.1098189-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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: s3K30jdQSFF6gutt9TB2zydkx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663685148; bh=mVODBMisgwwE9osOt5gf7XMBqqceZqpZs5MqEtIvaFc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=jiEzc1SkW80F6U5tB0+BnFT+z+SIAq0PROj/v5ikFWLhwTGRuDHqhS5st+NhkW4hUfe 9KxC9uqOcpTfbLuVEeUJ1xS7Gb5HAiO72vb4X76xzsq8VK8p2t22ayZeNFM9Ya2TJKnhP 1cu+MVax42TfYfTZjj8RIee040GXut520oo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663685149389100009 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 3c16fa981d5a..420d4858564f 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 df8802718d99..aeff5731f2ec 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.3 -=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 (#93997): https://edk2.groups.io/g/devel/message/93997 Mute This Topic: https://groups.io/mt/93805166/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 Thu Mar 28 21:22:20 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+93998+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+93998+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663685151; cv=none; d=zohomail.com; s=zohoarc; b=lOZi4cvoFpi7x+PZGsgh4MUz7rCyuyIHOP+lKZT0pTXRfrrfywMt2CaX+UOYNkTTKhrEgHS0lP6duuolVE1LmgzjKvdiW+xVCJ/7IP786lTWV59ctncIe/Hlezmh1ajIzwaJJ8938WKqICxnxwnrp+iJCdxhsfYBXMDmCMUpoWA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663685151; 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=siQWE2g5urJMI0xmIurM18gIdgXfZXSW3fU5IQxfyfE=; b=LYEDRkOgm7MkUsXhmMIG23texH9y3ZiVF+Y5AXV6XN856VZ494AapCY0u4+rc3zZanou3475ulJ7u8hAC54OSm2gQb+5qDczQTpbSUOEWoFzUTLXKog0MnxaFiuAjS24sHcPCRXnWyUa550s7TaeAZYDWZEESVrunJx6MV6SDs8= 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+93998+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 1663685151860267.0960228945062; Tue, 20 Sep 2022 07:45:51 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id hsJyYY1788612xAPqZtV7ZZX; Tue, 20 Sep 2022 07:45:51 -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.web08.12966.1663685150091357842 for ; Tue, 20 Sep 2022 07:45:50 -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-561-1acVq9kUMbOK6FWMPezdHg-1; Tue, 20 Sep 2022 10:45:46 -0400 X-MC-Unique: 1acVq9kUMbOK6FWMPezdHg-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 97957299E76A; Tue, 20 Sep 2022 14:45:45 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id DB328492B06; Tue, 20 Sep 2022 14:45:42 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski Subject: [edk2-devel] [PATCH v5 3/4] CI: Use Fedora 35 container (Linux only) Date: Tue, 20 Sep 2022 16:45:23 +0200 Message-Id: <20220920144524.1098189-4-osteffen@redhat.com> In-Reply-To: <20220920144524.1098189-1-osteffen@redhat.com> References: <20220920144524.1098189-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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: CUMTApwvn8mwvyA5QPmi4ZIfx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663685151; bh=tzQbwx/rf76i3w4K2zjN/fnH/+4j3gkEzghSsttBxpE=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=UlpgEGFjVlWt7BghUtYQo2FjEuYpap53wbKPrQFrd90yOgu1y0aVBYtl/aEWsulyvwX AGJ6e4ne7ocCFZ9JLDgs+1ufbanMGngYOIymWOS5O8LMhyyFi0RLC/bzAkX6Uis2wq/VC Wt4IAzaeIwlBA1gayxlhYVZZmrS4LAuWm2c= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663685153318100001 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..95ed03fb7e17 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:46de622' + 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..664edbfc8053 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:46de622' + 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..9cda8d1fbf34 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:46de622' + 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..9c49ce16fccc 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:46de622' + 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.3 -=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 (#93998): https://edk2.groups.io/g/devel/message/93998 Mute This Topic: https://groups.io/mt/93805168/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 Thu Mar 28 21:22:20 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+93999+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+93999+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1663685158; cv=none; d=zohomail.com; s=zohoarc; b=SyUGtwHBbQOffveST4hS9aTfnIKUXRLm3eabQKJgPq+PCC/FkIlUk27to6Ac4ZPj0XzJn2KQojESH3VwvDv1sW1a62c1ZIyc4lJ6x1+oOl9DH49gLnb1IW1lfeBKlBUWu97RdnC+687XJUHkeU2phRM3W34GRoO/zDtqqL9Ajg4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663685158; 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=mtmtx7pEtQOxADEg6mlPPRIaZrihuT30EXsMbF6UeLQ=; b=eeLX90JLS5LitaIi80iLgkqT5zHchrvam7g1swfo8AnPhC93Rs39nMbL6e6kla5zPZX+mVLOnivl5PO9Yaj6R7BcfqN8eXNap6h1peverVXMnYo/ut/wF+Tvnk1fA/J9X2QAhyFdz819IeBY7uB20K7CtfS1DoNErT5aIzX1fL8= 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+93999+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 1663685158314925.9671551548861; Tue, 20 Sep 2022 07:45:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id IhmpYY1788612xFQuBkRmPst; Tue, 20 Sep 2022 07:45:57 -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.12926.1663685155853365303 for ; Tue, 20 Sep 2022 07:45:56 -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-628-iPLLNIaSPaKX73KEsE6_fg-1; Tue, 20 Sep 2022 10:45:49 -0400 X-MC-Unique: iPLLNIaSPaKX73KEsE6_fg-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B9C68299E76C; Tue, 20 Sep 2022 14:45:48 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.194.127]) by smtp.corp.redhat.com (Postfix) with ESMTP id E85EB492B04; Tue, 20 Sep 2022 14:45:45 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen , Andrew Fish , Ard Biesheuvel , Bob Feng , Gerd Hoffmann , Jiewen Yao , Jordan Justen , Leif Lindholm , Liming Gao , Michael D Kinney , Michael Kubacki , Ray Ni , Sami Mujawar , Sean Brogan , Yuwei Chen , Pawel Polawski Subject: [edk2-devel] [PATCH v5 4/4] BaseTools: Remove ext. gcc dependencies (Linux only) Date: Tue, 20 Sep 2022 16:45:24 +0200 Message-Id: <20220920144524.1098189-5-osteffen@redhat.com> In-Reply-To: <20220920144524.1098189-1-osteffen@redhat.com> References: <20220920144524.1098189-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 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: fa9v9dI083MP5ngvS0yc9ZHtx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1663685157; bh=X61kraGbR0DS2OJ1KNiGGIh44faW8JCobhSzV6nm9js=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=LHW5YJMH81G/SmbO5fKLq9V2dBG+tv1+/F1NdLyfq+Db7wUDTzc7ZwgNW1d22DPrWyS 3n1QlJmLB/EyQJ/WDUQS68KUNzTBBq2lUiKqKMYJtUfFim7gJSlC3lyopA4ra0A4MKY8d AEoZVsTrxh/Z9AP7N4xmtd6aTs7um8Mr+aU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1663685159370100001 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 --- 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.3 -=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 (#93999): https://edk2.groups.io/g/devel/message/93999 Mute This Topic: https://groups.io/mt/93805171/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-