From nobody Sat May 18 19:12:54 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+90291+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+90291+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654603204; cv=none; d=zohomail.com; s=zohoarc; b=ZLcN73vwlJc3wDJoXinY4kmr4fwwma45Ee6Rg8PXhn/cN7g02jDX5m3QOFDs6VTXXmF+h7mnpcId0wDXIDWQD5BjEU6mAD0eNE6J/8dt8kNMg4Sa6a7Z/HijyflXGrSukslFOBe9iJ0jtFhXPtyZF9tMlxfEk/24/TWLSDZtv14= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654603204; 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=AgzLJnzWvbueOr2pLzo47/MqCq/IOIv62KV4QibjKPw=; b=XE+soPtgh54Tw/aiRxq5jmV3kQJ9EfkWlgfVq6tYCuRNSW0R/VXMR5MUassobibKULixJ+uewxIpRv+mcYmlX4POtj+43az+ovS6pIAiGjWEwFZ+LJxoH8yo2zIkvH0jKIAlPFwzEkuAE8FOY5ST1MFafBFmkxvkTOgMpuCs4Dw= 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+90291+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 1654603204950288.08815891883626; Tue, 7 Jun 2022 05:00:04 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WOYNYY1788612xIrDWaVgjRs; Tue, 07 Jun 2022 05:00:04 -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.web09.11558.1654603203517634911 for ; Tue, 07 Jun 2022 05:00:03 -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-392-B44t_CEnMVK5F5tcUXCqjQ-1; Tue, 07 Jun 2022 07:59:57 -0400 X-MC-Unique: B44t_CEnMVK5F5tcUXCqjQ-1 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EC243858EED; Tue, 7 Jun 2022 11:59:56 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.193.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 11A512166B26; Tue, 7 Jun 2022 11:59:53 +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 v2 1/4] CI: don't force python verison (Linux only) Date: Tue, 7 Jun 2022 13:59:19 +0200 Message-Id: <20220607115922.108380-2-osteffen@redhat.com> In-Reply-To: <20220607115922.108380-1-osteffen@redhat.com> References: <20220607115922.108380-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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: uZLHvZS0h36oj7biVknpRPJPx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654603204; bh=wogpNrzjlguBGul94VpqrEK5o6cJ95QsVlKixk8BF+Y=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=WccwNT8weclrBIgaNdb6PCIZPlGOMNoHWeLYEV1rqAB7zaA1yCNr4mHbHg3Kui4Aejb LAE3dP2+S396dRKjZYgY/Ap/FbUD7tNvdnqa3GNTwDwuopBxRRSXKJ9wr+UI3SKtc9le5 9ynHX9UBBodDInOQ241pytz/zVMQFvNaZVQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654603205445100002 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.36.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 (#90291): https://edk2.groups.io/g/devel/message/90291 Mute This Topic: https://groups.io/mt/91598530/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 Sat May 18 19:12:54 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+90292+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+90292+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654603206; cv=none; d=zohomail.com; s=zohoarc; b=nEsby2ZlD0Sd3vJQ/B5Lu4Jar6LuPd+PXw1JrBMdLT7B41Y9JhBYGaRRN2Q0rP8CfviVgcYXEAfuHVLmWSJ0qisp9F0k95Q8zKTe0z7N23i6ob5VAHyk+aJ+NqH5pQzJoLj42sY3YaIk7S2hACAS49i8iZ9mLoGa3LD+gXO32Bk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654603206; 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=g6LDta5BsI2dbowbSuOi9nWdvS02kNUlJHwfwb04RIs=; b=J7Fhaq+WsJQYDTl7AbDNbGGFoQAqCP2akZuH43cOOn4awdcTllTxd5UgWkHIXQ7egZ+cjq5MVkzSLA5+ssKUEtsPF08rozQl1LRvl24ygP0CwByFLk9XgtUuRNdG5LCqjFAKehTL1FYDlEu/SJbf4Ydos3jiwIsrtvYZsvuEn7E= 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+90292+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 1654603206715214.6287919265627; Tue, 7 Jun 2022 05:00:06 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id d1isYY1788612xGIBzcJ6WHs; Tue, 07 Jun 2022 05:00:06 -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.11395.1654603205634588652 for ; Tue, 07 Jun 2022 05:00:05 -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-326-Z6u3lAuCNDGBzxqXG5pcJQ-1; Tue, 07 Jun 2022 08:00:01 -0400 X-MC-Unique: Z6u3lAuCNDGBzxqXG5pcJQ-1 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6A6C42999B40; Tue, 7 Jun 2022 12:00:00 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.193.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4D54D2166B29; Tue, 7 Jun 2022 11:59:57 +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 v2 2/4] CI: add ~/.local/bin to PATH (Linux only) Date: Tue, 7 Jun 2022 13:59:20 +0200 Message-Id: <20220607115922.108380-3-osteffen@redhat.com> In-Reply-To: <20220607115922.108380-1-osteffen@redhat.com> References: <20220607115922.108380-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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: FUvXU3Q1j54yJGvnqhuCZWiSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654603206; bh=n7f/GslyxPnjPsgty+eZ8FiuONe9QXQS+01h4FUqejQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=AQgNhCkanUU+IR2TMQbVvmJkFW1mlKYscTSRvDBH34dLkPXJmzTE2+hyMFEbN4pPZXj dgDYDnrcb9IvOQsS0Jo5EERp3OCqY3s7YsJvu9kU56ylXklplc5Sh39P5vRCRu7WpCvFn r+ojmZsoyhPb4O49oc99MwFtVn42e11LBu4= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654603207497100005 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.36.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 (#90292): https://edk2.groups.io/g/devel/message/90292 Mute This Topic: https://groups.io/mt/91598534/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 Sat May 18 19:12:54 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+90293+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+90293+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654603208; cv=none; d=zohomail.com; s=zohoarc; b=duj02YYtS5YFlOqBl1DrcThPIozO24ftj78nE/QGjHxI1pFUEKF9Q4E0mJnBU23vI/CXBkaM7hPFIL9I0fYU8x6uzOkoJGD2TLC9Q2SQOi8k+7gYeQAno0MyB++o3ch3+nHSVs4hXtcNE11Vm33Rq/64gPc7PSQxu09BckNT/rY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654603208; 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=UA4fkQC207tYKpb5Sw3uXJEIHhaO9jwEA1H94CL4450=; b=AoKrmIB8gWCk7iOvrVz+qeSUqPiOL5QIZDK4DmkGTuMyywRDTrUV/dvMjB0P3RPhT3eCogToMZg+f7pxzcUlhphIV09Rzu2BKlwOzaDewEUd1dw2i8WDbvvTdNygJzwBK5WeDw3jBS+kBzasRRYLmDNAnXMOqXCKJT/V5DqujV0= 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+90293+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 1654603208214817.6769177911939; Tue, 7 Jun 2022 05:00:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Ok7tYY1788612x3uOjPpdhc3; Tue, 07 Jun 2022 05:00:07 -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.11396.1654603206901979412 for ; Tue, 07 Jun 2022 05:00:07 -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-530-ANf3AmOEOwqVJm3r6aVH-A-1; Tue, 07 Jun 2022 08:00:04 -0400 X-MC-Unique: ANf3AmOEOwqVJm3r6aVH-A-1 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id F255D2999B41; Tue, 7 Jun 2022 12:00:03 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.193.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1FBD12166B26; Tue, 7 Jun 2022 12:00:00 +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 v2 3/4] CI: Use Fedora 35 container (Linux only) Date: Tue, 7 Jun 2022 13:59:21 +0200 Message-Id: <20220607115922.108380-4-osteffen@redhat.com> In-Reply-To: <20220607115922.108380-1-osteffen@redhat.com> References: <20220607115922.108380-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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: AAGFv0AR6r2p23HNzBzwSjltx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654603207; bh=QeLgXhPz+iJnr+131RHZLB3936tOlNLGUd53vNpv/Nc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=VkD7svEpd/H1WF2nvfA3pGQv37OKsKknZHMA1KTybEb537zqQpTqYc3o3IOhZgeC407 aE1xeLRI/uLVL+IqUxIYT2cFFGrU34rtglBrTvejzodd2D+/GpLBNYCyos0MpQwqSNyIu GlY0owehgksgJ0556rqWmZ14rgR+pu9t0TU= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654603209491100009 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 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..298d07d0f13d 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:9ef7691' + 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..ad9e02ca2aae 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:9ef7691' + 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..96c9f7b0c6c1 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:9ef7691' + 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..7cea2542b389 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/tianocore/containers/fedora-35-test:9ef7691' + 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.36.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 (#90293): https://edk2.groups.io/g/devel/message/90293 Mute This Topic: https://groups.io/mt/91598535/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 Sat May 18 19:12:54 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+90294+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+90294+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1654603213; cv=none; d=zohomail.com; s=zohoarc; b=a5s2rOkfvrssRg+P6AzHKgNXrckeIR48IKTBDZ0xK/e5aJLpFqFrIjadYYq2WiOZC06nAzRTS2qAh0+vnHqW8RLtOAzjem0aQZB8rku86EpblIhN3os4EoVAOFnQDPMz2qHtE3AlzvdheP2elUPy5cjvrrpmZpTF//olc2k2lBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1654603213; 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=ZxpyZGGFzLTK5rGqGJgI4qXmdb2HQnvvt2hw8z/Dpm8=; b=OSg4GiqFHCrtPE/CFWkjo7SZ2SB5ik8Yt7eA1wlM9yZTgNtenv1ru9JxoMpbkafjX5HQo6vI1yEZDTe2+NTk758qxoB9Q5bnDI9RCfFhrA+/73ULui+OTmIzCBn4a6EBzibqPnG4wSDIXWPaw0Pp9s1c65wc/5VMErVrysyLS7w= 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+90294+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 165460321369968.50142925624709; Tue, 7 Jun 2022 05:00:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id wyodYY1788612xI0erBGx33T; Tue, 07 Jun 2022 05:00:12 -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.11367.1654603211952763750 for ; Tue, 07 Jun 2022 05:00:12 -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-661-e7AVBCBVPHGMoC5LJJk8zg-1; Tue, 07 Jun 2022 08:00:08 -0400 X-MC-Unique: e7AVBCBVPHGMoC5LJJk8zg-1 X-Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9923C833968; Tue, 7 Jun 2022 12:00:06 +0000 (UTC) X-Received: from osteffen-laptop.fritz.box (unknown [10.39.193.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C95B2166B2D; Tue, 7 Jun 2022 12:00:04 +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 v2 4/4] BaseTools: Remove ext. gcc dependencies (Linux only) Date: Tue, 7 Jun 2022 13:59:22 +0200 Message-Id: <20220607115922.108380-5-osteffen@redhat.com> In-Reply-To: <20220607115922.108380-1-osteffen@redhat.com> References: <20220607115922.108380-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 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: 1ByEMLYRhdbeT933BjvLDig4x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1654603212; bh=AXV4XI6HuCxSq8Vnz/1FKTrTkxHweXd1aE3Wm7h9BWc=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=gW0bBO0yj6kF2XgpBykUAqcBvq5YtmzsY3LhW+VsqEin1ZRwYpl2toOCbSXg4qB6Mbf +Ee4nF6eeSuO42jLysz+7qsCr/pWC4MbGGVq8AjFxMuPUsWCSXMi1y6C52iyjDiycMJaM mRlx2zI/02N6dOFVw+NWLa4xadPxuN2g22A= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1654603215587100005 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.36.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 (#90294): https://edk2.groups.io/g/devel/message/90294 Mute This Topic: https://groups.io/mt/91598537/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-