From nobody Sat May 4 23:37:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55680+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55680+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583749806; cv=none; d=zohomail.com; s=zohoarc; b=O2h/r1DxPkpFaN/TrYo9Ox/Kd2DMx9C4B6IodpIs4Qjkmh2HWdrUKgUaNoTOvOtZ7WBVAqFVIejoW452Gj3AJai2FiI9s6x0N7yrTNta9KIYKTvM2mLugNUQv8ypqeNGsGQThFReA3JwOzy+E5aES06WrlG7Gl/m44IR4RUV8rs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583749806; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=Hqk5q7ElW04h6KHUQQKs5E7skHFaxxvT7GwCFiIBv1U=; b=FMUlES0d8WJsvwDJXBibMqMEqhkWNqN2aGhlhb5N7h568xPxMz0VR7563c5OUIBn4xM+R5K9GuhpWi4eq06EfQki+0j4buhnFSDlSTISm/IDX6FrZVy89yzO4xObg7vlzTVVFcpezwARNbCLB9zmjn5QjUQqEPbhaFyvOroqLOg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55680+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1583749806961770.1130212437866; Mon, 9 Mar 2020 03:30:06 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Fik2YY1788612xmjdnPneM4b; Mon, 09 Mar 2020 03:30:05 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.53466.1583749805275774288 for ; Mon, 09 Mar 2020 03:30:05 -0700 X-Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 029ASUe7014345; Mon, 9 Mar 2020 10:30:04 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 2ym63c2v0f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Mar 2020 10:30:04 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id BB7DA91; Mon, 9 Mar 2020 10:30:03 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id B52B536; Mon, 9 Mar 2020 10:30:01 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Leif Lindholm , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 1/5] RiscVPlatformPkg: Add RiscVPlatformPkg yaml file for EDK2 CI. Date: Mon, 9 Mar 2020 17:53:14 +0800 Message-Id: <20200309095318.7331-2-abner.chang@hpe.com> In-Reply-To: <20200309095318.7331-1-abner.chang@hpe.com> References: <20200309095318.7331-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: nVpE1dHISbsQ4dRpGdd4Fi3tx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583749805; bh=QY6FoIWgYIj289/pkkpAGyW6i2eJYPkcpBKxeZHYIF4=; h=Cc:Date:From:Reply-To:Subject:To; b=Yv350DeWPA0g3RrStEnzhOTYR/csnG/qdjqvxM+mdCnoIVr3TjZX9QjHaOU+py5UJvq hK961N2+H3TR6lUyG9D5zICj1cBSnY/Mze/0PE9Xo8qu51IwQzR96e7arrkaHoX55O7Qu D3r06CYjivU9lmr08IbxYi6wEvnIR3D2hfo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 Add yaml file for EDK2 CI testing on RiscVPlatformPkg. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml | 69 +++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml diff --git a/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml b/RiscVPlatformPkg/R= iscVPlatformPkg.ci.yaml new file mode 100644 index 0000000000..76bd9a1558 --- /dev/null +++ b/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml @@ -0,0 +1,69 @@ +## @file +# CI configuration for RiscVPlatformPkg +# +# Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + ## options defined ci/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "RiscVPlatformPkg.dsc" + }, + ## options defined ci/Plugin/HostUnitTestCompilerPlugin + "HostUnitTestCompilerPlugin": { + }, + + ## options defined ci/Plugin/CharEncodingCheck + "CharEncodingCheck": { + "IgnoreFiles": [] + }, + + ## options defined ci/Plugin/DependencyCheck + "DependencyCheck": { + "AcceptableDependencies": [ + "MdePkg/MdePkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "RiscVPkg/RiscVPkg.dec", + "RiscVPlatformPkg/RiscVPlatformPkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined ci/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [], + "DscPath": "RiscVPlatformPkg.dsc" + }, + ## options defined ci/Plugin/HostUnitTestDscCompleteCheck + "HostUnitTestDscCompleteCheck": { + }, + + ## options defined ci/Plugin/GuidCheck + "GuidCheck": { + "IgnoreGuidName": [], + "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"], + "IgnoreFoldersAndFiles": [], + "IgnoreDuplicates": [] + }, + + ## options defined ci/Plugin/LibraryClassCheck + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined ci/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": False, + "IgnoreStandardPaths": [ # Standard Plugin defined paths that = should be ignore + "*.c", "*.h", "*.s", "*.asl", "*.inf" + ], + "IgnoreFiles": [], + "ExtendWords": [], # words to extend to the dictionary f= or this package + "AdditionalIncludePaths": [] # Additional paths to spell check rel= ative to package root (wildcards supported) + } +} --=20 2.25.0 -=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 (#55680): https://edk2.groups.io/g/devel/message/55680 Mute This Topic: https://groups.io/mt/71831893/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 4 23:37:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55681+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55681+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583749808; cv=none; d=zohomail.com; s=zohoarc; b=Bgu0mq1Ye+iSj6vIoeULSLHFw3QvhBGi/D+KPWF/JiQmDkvj1msr+AcXM8chBHFg1uHYboEw2tRs1tSE49vfPQFvPrBHyPhoyBgZg2IttWf55VSPY/2xBXL1AMYicb/HD1/tvSzjRN6cfZufkXkVCzM2e7VaYEZFC6sO3TIiMbs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583749808; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=z6+hjpGkIqzkChQN+tc53BXF3A3o1Gz4ukVT+vTeQ+4=; b=QXsm2+/Q2e4Yr4PIHWwWG2xeMJixowyV9uHTGcM7/vk6ZDX/yr4SSLEiemJRZ9UbdZMJZvM10nNYrfGlyeP2wK/FQNauduHRomP7Pc/+ldMTmIoGjczpGqsRWs38MooMzVM11cW7m+MgTqbgOZ8IEw6Xpy+0GotM7R7YHbT90i0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55681+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1583749808497863.3213816981842; Mon, 9 Mar 2020 03:30:08 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id VVidYY1788612xWsrSGKWqNU; Mon, 09 Mar 2020 03:30:07 -0700 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.53955.1583749807109128941 for ; Mon, 09 Mar 2020 03:30:07 -0700 X-Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 029ALFKV004747; Mon, 9 Mar 2020 10:30:06 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 2ynhdf9dd9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Mar 2020 10:30:06 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id 366B76D; Mon, 9 Mar 2020 10:30:06 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 30E903A; Mon, 9 Mar 2020 10:30:03 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Leif Lindholm , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 2/5] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI. Date: Mon, 9 Mar 2020 17:53:15 +0800 Message-Id: <20200309095318.7331-3-abner.chang@hpe.com> In-Reply-To: <20200309095318.7331-1-abner.chang@hpe.com> References: <20200309095318.7331-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: FgXJBAl8aOR9z3f0szGwjW0Xx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583749807; bh=NkmM8LkPToSi470Ni7It7tIOhUhtHIK6V5cz59DCDhw=; h=Cc:Date:From:Reply-To:Subject:To; b=Q1Z2r+EOPn1mSNteFbqLt1i5MkJobHSUl7H5/uErbIE+kspAUnOaGhM8fcrPR/6Vzah h13zfjG8CBvi7fnORkwsNTllnktqysvCMFUFIpAhJVI1jC6JQNfB698vwM9D3q3ZeA6VD ptt1kxnIeEwFgRxcbTOS8QIiAuKy8/tr6GM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 Add yaml file for EDK2 CI testing on RiscVPkg. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- RiscVPkg/RiscVPkg.ci.yaml | 68 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 RiscVPkg/RiscVPkg.ci.yaml diff --git a/RiscVPkg/RiscVPkg.ci.yaml b/RiscVPkg/RiscVPkg.ci.yaml new file mode 100644 index 0000000000..f0aadbb619 --- /dev/null +++ b/RiscVPkg/RiscVPkg.ci.yaml @@ -0,0 +1,68 @@ +## @file +# CI configuration for RiscVPkg +# +# Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
+# SPDX-License-Identifier: BSD-2-Clause-Patent +## +{ + ## options defined ci/Plugin/CompilerPlugin + "CompilerPlugin": { + "DscPath": "RiscVPkg.dsc" + }, + ## options defined ci/Plugin/HostUnitTestCompilerPlugin + "HostUnitTestCompilerPlugin": { + }, + + ## options defined ci/Plugin/CharEncodingCheck + "CharEncodingCheck": { + "IgnoreFiles": [] + }, + + ## options defined ci/Plugin/DependencyCheck + "DependencyCheck": { + "AcceptableDependencies": [ + "MdePkg/MdePkg.dec", + "MdeModulePkg/MdeModulePkg.dec", + "EmbeddedPkg/EmbeddedPkg.dec", + "RiscVPkg/RiscVPkg.dec" + ], + # For host based unit tests + "AcceptableDependencies-HOST_APPLICATION":[], + # For UEFI shell based apps + "AcceptableDependencies-UEFI_APPLICATION":[], + "IgnoreInf": [] + }, + + ## options defined ci/Plugin/DscCompleteCheck + "DscCompleteCheck": { + "IgnoreInf": [], + "DscPath": "RiscVPkg.dsc" + }, + ## options defined ci/Plugin/HostUnitTestDscCompleteCheck + "HostUnitTestDscCompleteCheck": {}, + + ## options defined ci/Plugin/GuidCheck + "GuidCheck": { + "IgnoreGuidName": [], + "IgnoreGuidValue": ["00000000-0000-0000-0000-000000000000"], + "IgnoreFoldersAndFiles": [], + "IgnoreDuplicates": [] + }, + + ## options defined ci/Plugin/LibraryClassCheck + "LibraryClassCheck": { + "IgnoreHeaderFile": [] + }, + + ## options defined ci/Plugin/SpellCheck + "SpellCheck": { + "AuditOnly": False, + "IgnoreStandardPaths": [ # Standard Plugin defined paths that = should be ignore + "*.c", "*.h", "*.s", "*.asl", "*.inf" + ], + "IgnoreFiles": [], + "ExtendWords": [], # words to extend to the dictionary f= or this package + "AdditionalIncludePaths": [] # Additional paths to spell check rel= ative to package root (wildcards supported) + } +} --=20 2.25.0 -=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 (#55681): https://edk2.groups.io/g/devel/message/55681 Mute This Topic: https://groups.io/mt/71831894/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 4 23:37:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55682+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55682+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583749813; cv=none; d=zohomail.com; s=zohoarc; b=OZkhoU3bJFyuT+ovB5MwwDNpviSvAusJE4X2s+Gfez2cFfj2Bwcf7plUkBVrVrgrfb7ozHuJbw1Z5mTd4wfUiRFF2cmFlsJ4+yU4LOuIKJ3pB02NJvbmvg65Ue6z4yoSVyFfY3sYE39X+ZKJnwSW3CoRCyt3ND6wqua8OBswlFM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583749813; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=OFniE7Lgl1jhBn5SW8dwpKfZVEMEJhn1ZY0FZZIha6M=; b=Cgq3G54E883v8hYTcfNSMWqf51qSnsFaM1T9U1zQ3rQnvOuBWdUl+XUvhyvo21Q1wvf5oJuiIoc+g6lUeZv0FSyWRkOIjG8nr4B22Iz/cd3domPCDbtxES+LHCIQDVkPCWRcWrwqzxpWKtweba7cor24ej8fv7k6Q4noupnMxag= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55682+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1583749813961620.1858174410789; Mon, 9 Mar 2020 03:30:13 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id P02TYY1788612xeCoduJiOI4; Mon, 09 Mar 2020 03:30:10 -0700 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.53957.1583749810199793873 for ; Mon, 09 Mar 2020 03:30:10 -0700 X-Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 029AN0qp015172; Mon, 9 Mar 2020 10:30:10 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0a-002e3701.pphosted.com with ESMTP id 2ynhh51anf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Mar 2020 10:30:09 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 5784DA1; Mon, 9 Mar 2020 10:30:09 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id A214F36; Mon, 9 Mar 2020 10:30:06 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Bob Feng , Leif Lindholm , Michael D Kinney , Liming Gao , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 3/5] BaseTools: Enable RISC-V architecture for RISC-V EDK2 CI. Date: Mon, 9 Mar 2020 17:53:16 +0800 Message-Id: <20200309095318.7331-4-abner.chang@hpe.com> In-Reply-To: <20200309095318.7331-1-abner.chang@hpe.com> References: <20200309095318.7331-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: CiMpmL5Y1WQYYi6jNvgK1ThSx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583749810; bh=QwA8jOw535x1YbOZkTkgkiWU1YMqObk/Xh9WE6YPwuc=; h=Cc:Date:From:Reply-To:Subject:To; b=tGPRCfruQlPkx86vgD1m5L3dEQZziEIuha/p1wyxeFIogxQqmk870o0UrZrzqeGcbXS Bv0x6LalopvuoeuYT60uT2QkoPIHHjZBPolrQDF3AQ+c8iq+zO5muzDLJPskdWDjlH8G1 tGsYPUtVjrTrQlcewhF2yBXbZ9e1/7VC95E= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 EDK CI for RISC-V architecture Enable RISC-V architecture for RISC-V EDK2 CI testing. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Bob Feng Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- .../Bin/gcc_riscv64_unknown_ext_dep.yaml | 22 +++++++++++++ .../LinuxGcc5ToolChain/LinuxGcc5ToolChain.py | 31 +++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml diff --git a/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml b/BaseTools/Bin= /gcc_riscv64_unknown_ext_dep.yaml new file mode 100644 index 0000000000..a3ec2d9bdb --- /dev/null +++ b/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml @@ -0,0 +1,22 @@ +## @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://media.githubusercontent.com/media/riscv/riscv-uefi-ed= k2-docs/master/gcc-riscv-edk2-ci-toolchain/gcc-riscv-9.2.0-2020.02-x86_64_r= iscv64-unknown-gnu.tar.xz", + "version": "9.2.0", + "compression_type": "tar", + "sha256": "63d10b24bf31992841ff3c1b675cec6464dff2cfa97b241c572d7681f6259= 88a", + "internal_path": "/gcc-riscv-9.2.0-2020.02-x86_64_riscv64-unknown-gnu", + "flags": ["set_shell_var", ], + "var_name": "GCC5_RISCV64_INSTALL" +} diff --git a/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py b/Ba= seTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py index c31641e931..502d2c21d2 100644 --- a/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py +++ b/BaseTools/Plugin/LinuxGcc5ToolChain/LinuxGcc5ToolChain.py @@ -4,6 +4,7 @@ # This plugin works in conjuncture with the tools_def # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## import os @@ -36,6 +37,12 @@ class LinuxGcc5ToolChain(IUefiBuildPlugin): self.Logger.critical("Failed in check arm") return ret =20 + # Check RISCV64 compiler + ret =3D self._check_riscv64() + if ret !=3D 0: + self.Logger.critical("Failed in check riscv64") + return ret + return 0 =20 def _check_arm(self): @@ -83,3 +90,27 @@ class LinuxGcc5ToolChain(IUefiBuildPlugin): return -2 =20 return 0 + + def _check_riscv64(self): + # check to see if full path already configured + if shell_environment.GetEnvironment().get_shell_var("GCC5_RISCV64_= PREFIX") is not None: + self.Logger.info("GCC5_RISCV64_PREFIX is already set.") + + else: + # now check for install dir. If set then set the Prefix + install_path =3D shell_environment.GetEnvironment( + ).get_shell_var("GCC5_RISCV64_INSTALL") + if install_path is None: + return 0 + + # make GCC5_RISCV64_PREFIX to align with tools_def.txt + prefix =3D os.path.join(install_path, "bin", "riscv64-unknown-= elf-") + shell_environment.GetEnvironment().set_shell_var("GCC5_RISCV64= _PREFIX", prefix) + + # now confirm it exists + if not os.path.exists(shell_environment.GetEnvironment().get_shell= _var("GCC5_RISCV64_PREFIX") + "gcc"): + self.Logger.error( + "Path for GCC5_RISCV64_PREFIX toolchain is invalid") + return -2 + + return 0 --=20 2.25.0 -=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 (#55682): https://edk2.groups.io/g/devel/message/55682 Mute This Topic: https://groups.io/mt/71831895/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 4 23:37:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55683+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55683+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583749818; cv=none; d=zohomail.com; s=zohoarc; b=i7WqLf0Js935496PEK702J1Z+gCzU8DQ9dCFrxpkJ4+2bgBGnRI7tcUqU+tEjO6UoyBB/EenW9TYgveIW4kg9hDJH5fy3zd1K/LdRbdgZ3lQ/lWyabCCPdeA+7z0Pl/I7vTZs/PV2CBncw+6w2Nsyfj+oujPmtEwDeWRb9kHt1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583749818; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=rA1muvx5mm3It4Eh3rbLset1sVHRFgDaAaGpTAN7IL4=; b=b8Z/jhL6OZuGJzNJqnwI1o3eF/79TXof4JT+aALWszuyQ8qdzW3vhRPScKkpofJlLkPkgWGdUZ+tyWFYsyoEDSuXuBo95Ni6o+oz1rrg3VhWDXDwbku/xPPaaSvXMxsrq+2avWVJdfNHEjX0ZFTMtFqA1MWbD//jwX7YIUm/mZ8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55683+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1583749818149332.0572134671646; Mon, 9 Mar 2020 03:30:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id YibTYY1788612xRkwXpUOeNt; Mon, 09 Mar 2020 03:30:14 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.53959.1583749813453479519 for ; Mon, 09 Mar 2020 03:30:13 -0700 X-Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 029AHsWp006177; Mon, 9 Mar 2020 10:30:12 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 2ym49p3ex7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Mar 2020 10:30:12 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id 0D5AE85; Mon, 9 Mar 2020 10:30:12 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id BE8C73A; Mon, 9 Mar 2020 10:30:09 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Leif Lindholm , Michael D Kinney , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 4/5] .azurepipelines: Add RISC-V architecture on RISC-V EDK2 CI. Date: Mon, 9 Mar 2020 17:53:17 +0800 Message-Id: <20200309095318.7331-5-abner.chang@hpe.com> In-Reply-To: <20200309095318.7331-1-abner.chang@hpe.com> References: <20200309095318.7331-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: 9PcTM4YCGE3sFZDQEIr4b5jFx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583749814; bh=4gd2Of20cL2eRATlNM0un2g74ePfddcTBVMwKy6qvF8=; h=Cc:Date:From:Reply-To:Subject:To; b=w5CYC2lTa3WozIfKE5uszL77i1b8qtmX647WIYJ+1SqHikSeyGAhcN7lubDG26hCoPh 9NLfVbyKVW48DhGxfouHSTK9VwSrGGVFkxAcj2P4XGtW/In7b10GuLqvo632n89Q4oBEw G2OO3ue7JVsw3rWbJoIJ6Zp7yf3FKAVvxQo= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 Add RISC-V architecture on RISC-V EDK2 CI. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Michael D Kinney Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- .azurepipelines/Ubuntu-GCC5.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.azurepipelines/Ubuntu-GCC5.yml b/.azurepipelines/Ubuntu-GCC5.= yml index a26a3a2cb2..7cd67c98da 100644 --- a/.azurepipelines/Ubuntu-GCC5.yml +++ b/.azurepipelines/Ubuntu-GCC5.yml @@ -2,6 +2,7 @@ # Azure Pipeline build file for a build using ubuntu and GCC5 # # Copyright (c) Microsoft Corporation. +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## trigger: @@ -14,5 +15,5 @@ jobs: parameters: tool_chain_tag: 'GCC5' vm_image: 'ubuntu-latest' - arch_list: "IA32,X64,ARM,AARCH64" + arch_list: "IA32,X64,ARM,AARCH64,RISCV64" =20 --=20 2.25.0 -=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 (#55683): https://edk2.groups.io/g/devel/message/55683 Mute This Topic: https://groups.io/mt/71831896/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 4 23:37:37 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+55684+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55684+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583749836; cv=none; d=zohomail.com; s=zohoarc; b=KN3CbPwykMJEjDOoOrh0YovyDVT2gbFrPqkXE38BtWpA2qw+69fEyXT+R/qHm+FtKlkpdV7bmSdtKmrBnQ4ymkciHplwXT9kqWzF+Uvmy0Dz9vbGhv3Qfs7rQGQTmqLLnhMzJXNQGTDns+8apznQsuD5nz7BwVNhwUcODsNQJMY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583749836; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=CF2X8CbeIzoOapumVUPQihb3SFsXhCO+gxi/q9sxdeU=; b=VSz+mQ52GSlIEp03pJkBb5oAKuvDXlxrw1JlRbykQbNxgJXYN91OwlhJ/ckiTCVllmk0/+7ssTPWc1ZFOVbxX9No91C844h4A0pIKV007a6zbqPT+vpSoNZkz18MGHLyEnpRcS0S7p6ogRAFbJdJmI3XpMFAazM0hme42QDQ0VM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+55684+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1583749835912878.2252321033737; Mon, 9 Mar 2020 03:30:35 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id QvQJYY1788612xXlIE8y4jVY; Mon, 09 Mar 2020 03:30:35 -0700 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.53470.1583749834434272340 for ; Mon, 09 Mar 2020 03:30:34 -0700 X-Received: from pps.filterd (m0134425.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 029AUXGL031800; Mon, 9 Mar 2020 10:30:33 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 2ynk4ggf29-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 09 Mar 2020 10:30:33 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2353.austin.hpe.com (Postfix) with ESMTP id B1EF06D; Mon, 9 Mar 2020 10:30:14 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 763C73A; Mon, 9 Mar 2020 10:30:12 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Leif Lindholm , Michael D Kinney , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2/master PATCH RISC-V CI v2 5/5] .pytool: Add RISC-V architecture on RISC-V EDK2 CI. Date: Mon, 9 Mar 2020 17:53:18 +0800 Message-Id: <20200309095318.7331-6-abner.chang@hpe.com> In-Reply-To: <20200309095318.7331-1-abner.chang@hpe.com> References: <20200309095318.7331-1-abner.chang@hpe.com> X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: 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,abner.chang@hpe.com X-Gm-Message-State: XDq3Ujx2kteNelOw37VPjRagx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583749835; bh=LCTw1AUkCmMFkl/1Y56u+dnO8Ub3ec7Eq1rYg4FB9oo=; h=Cc:Date:From:Reply-To:Subject:To; b=Bgp3loWYIrto8mj7LWcLsngI1bYLTsZo/EYuuPx3reac0UlkriP4QE91+4+CEt+AdC2 wYWvDSzrStpbeTG4+vcqM2mawFO8i3reK7xSH2MSnpm9yegLGHlOki5zHZPFxMed7xsI/ QWm+BCjzjCuNzU14jXm4MDrUCfShslFlYl4= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2562 Add RISC-V architecture on RISC-V EDK2 CI testing. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Michael D Kinney Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- .pytool/CISettings.py | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py index 79593d9dc5..2ef55e366d 100644 --- a/.pytool/CISettings.py +++ b/.pytool/CISettings.py @@ -1,6 +1,7 @@ # @file # # Copyright (c) Microsoft Corporation. +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## import os @@ -49,15 +50,19 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "ShellPkg", "FatPkg", "CryptoPkg", - "UnitTestFrameworkPkg" + "UnitTestFrameworkPkg", + "RiscVPkg", + "RiscVPlatformPkg" ) =20 def GetArchitecturesSupported(self): ''' return iterable of edk2 architectures supported by this build = ''' - return ("IA32", + return ( + "IA32", "X64", "ARM", - "AARCH64") + "AARCH64", + "RISCV64") =20 def GetTargetsSupported(self): ''' return iterable of edk2 target tags supported by this build ''' @@ -130,6 +135,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag scopes +=3D ("gcc_aarch64_linux",) if "ARM" in self.ActualArchitectures: scopes +=3D ("gcc_arm_linux",) + if "RISCV64" in self.ActualArchitectures: + scopes +=3D ("gcc_riscv64_unknown",) =20 return scopes =20 @@ -144,6 +151,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "CryptoPkg/Library/OpensslLib/openssl", False)) rs.append(RequiredSubmodule( "UnitTestFrameworkPkg/Library/CmockaLib/cmocka", False)) + rs.append(RequiredSubmodule( + "RiscVPkg/Library/RiscVOpensbiLib/opensbi", False)) return rs =20 def GetName(self): --=20 2.25.0 -=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 (#55684): https://edk2.groups.io/g/devel/message/55684 Mute This Topic: https://groups.io/mt/71831899/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-