From nobody Sun May 5 08:12:24 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+55094+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+55094+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952374; cv=none; d=zohomail.com; s=zohoarc; b=Pavv/5jIWYU8xmFEnlkTzBonXoS14qoLJBQ+IE4ojpAiiGqyn1hWerYPsr+LymnPswelj2JH/7IBQprLT9klu0/z4X5mT0f77xWa78/l0BajhlHspKuXE8nEm9YvEhkao3kh+IekR8QJ3fI8B0lZShy/iSwS5/quJK/ARMbSpNA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952374; 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=kh2vYoJlS/Hkcke/2MvEFn3x2E8dE462XRPs+/b8Lf4=; b=J4/o7lld5wNBgsiRUQXRwhGJlAmGjIvTRl7QWWHrDKaPYy56vUANWA4zkvMTP91NnVKJ/poePmgqdM7ronQ/v2BNHkZAYRuRCVgEjtKoh9XcQ99r95J3iJPFoONbwLVoTvwn3SlbtcFuHOFXerW+LGUsvO8LSXBm2R8QdEdzGW0= 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+55094+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 1582952374076996.5233440008749; Fri, 28 Feb 2020 20:59:34 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id hAwMYY1788612xAGy22Ky1wI; Fri, 28 Feb 2020 20:59:33 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.10691.1582952372569573745 for ; Fri, 28 Feb 2020 20:59:32 -0800 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 01T4te6Q000950; Sat, 29 Feb 2020 04:59:31 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 2yfh5j81un-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:31 +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 EE30082; Sat, 29 Feb 2020 04:59:30 +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 DA74336; Sat, 29 Feb 2020 04:59:28 +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-staging/RISC-V-V2: CI Config PATCH v1 1/6] RiscVPlatformPkg: Add RiscVPlatformPkg yaml file for EDK2 CI. Date: Sat, 29 Feb 2020 12:23:00 +0800 Message-Id: <20200229042305.1794-2-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-1-abner.chang@hpe.com> 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: 96wDoWKQqZ3jFuqcHiWaF8VUx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952373; bh=ekUlevsWTytqxmqrwb79KoDNhE3XLTNC8kEERswveWQ=; h=Cc:Date:From:Reply-To:Subject:To; b=fZz8z6oJWKyHPOJpBY1bCrLBciDPtXhD+8ERLDOCYigWwfde24dGMNW1RwIMQz8k7Ty RsOKO2FAaHn9HbLm4DMw2OcODDVbZpLZ6+mtDZa2U/Hg584l1CRzHbCKugQtiSSd3UFdg ZvcfyMqQcmv82j9OASwyxkNqCWsXWZGbvnQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - EDK CI for RISC-V architecture 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 | 81 +++++++++++++++++++++++ 1 file changed, 81 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..669874a028 --- /dev/null +++ b/RiscVPlatformPkg/RiscVPlatformPkg.ci.yaml @@ -0,0 +1,81 @@ +## @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": True, # Fails test but run in AuditOnly mod= e to collect log + "IgnoreStandardPaths": [ # Standard Plugin defined paths that = should be ignore + "*.c", "*.h", "*.s", "*.asl", "*.inf" + ], + "IgnoreFiles": [], + "ExtendWords": [ # words to extend to the dictionary for= this package + "LIGHTGRAY", + "DARKGRAY", + "LIGHTBLUE", + "LIGHTGREEN", + "LIGHTCYAN", + "LIGHTRED", + "LIGHTMAGENTA", + "FVMAIN", + "VARCHECKPCD", + "Getxx", + "lzturbo" + ], + "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 (#55094): https://edk2.groups.io/g/devel/message/55094 Mute This Topic: https://groups.io/mt/71625849/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 Sun May 5 08:12:24 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+55095+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+55095+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952376; cv=none; d=zohomail.com; s=zohoarc; b=ZRNOygnQ8cnoQ/hI+uPkdADOelEbTkkGtGHzhNUkuLvfw/mgfAxVMk1l9s/Fny7F0wy+RJP3J2BjB3+d0bcjn/Iv7C72Vl69ny1zUiaiHd3Vc5NVEBWyJFNsG0YPxJ/KRVMUx6UHXEFOSCcmEh74P3fBMgdUqCjxYeMoLZJOFpU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952376; 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=XaJfwz0rwbwezoL/5t68rlYqfg7okrijZvqkhO3xh7s=; b=HzHHHCpsnwj7T8yK6eUoGX5mP1fUEroKF5aszLXl7XKXWHK3p1t8BvhDz+753kefrtDy0km9MyiN6QfVpHKbJfl/Rfq7E8Ij8UoY/SWR4ErKMDDsBH02zCq29P4P114fA4LIl22d7ty7t4Rw9oZ9JITXXbspErpIuuwRpjxACjs= 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+55095+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 1582952376116762.4323703796756; Fri, 28 Feb 2020 20:59:36 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id h24MYY1788612xi7K7ywvI10; Fri, 28 Feb 2020 20:59:35 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.10486.1582952374631429327 for ; Fri, 28 Feb 2020 20:59:34 -0800 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 01T4vpca016462; Sat, 29 Feb 2020 04:59:34 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0a-002e3701.pphosted.com with ESMTP id 2yfgfd07dm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:34 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 745F083; Sat, 29 Feb 2020 04:59:33 +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 6383236; Sat, 29 Feb 2020 04:59:31 +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-staging/RISC-V-V2: CI Config PATCH v1 2/6] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI. Date: Sat, 29 Feb 2020 12:23:01 +0800 Message-Id: <20200229042305.1794-3-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-1-abner.chang@hpe.com> 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: tzIlFEQugMEFuIUwFxfqNbnZx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952375; bh=1JW13+6YiPHeN3Zf06N1Sv+ZLBao5+b6qjGcxNiOEdE=; h=Cc:Date:From:Reply-To:Subject:To; b=upMF7kTXd8r702dPKsb2NC4sTQDnfQlILWIiKGKZJLcKB1vjNbVJwwaSxuLEPR5Eia1 Xh7u0a4YmCb3ySoqY03j8oy3ImvQj4zpTWVCpEHm7VzLJqc/z+jshffJWEmsT2fwVBW0D EBGCuWmugASdRAOUBo+H2Be7KIYTi9CF77o= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - EDK CI for RISC-V architecture 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 | 80 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 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..74a42cd59c --- /dev/null +++ b/RiscVPkg/RiscVPkg.ci.yaml @@ -0,0 +1,80 @@ +## @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": True, # Fails test but run in AuditOnly mod= e to collect log + "IgnoreStandardPaths": [ # Standard Plugin defined paths that = should be ignore + "*.c", "*.h", "*.s", "*.asl", "*.inf" + ], + "IgnoreFiles": [], + "ExtendWords": [ # words to extend to the dictionary for= this package + "LIGHTGRAY", + "DARKGRAY", + "LIGHTBLUE", + "LIGHTGREEN", + "LIGHTCYAN", + "LIGHTRED", + "LIGHTMAGENTA", + "FVMAIN", + "VARCHECKPCD", + "Getxx", + "lzturbo" + ], + "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 (#55095): https://edk2.groups.io/g/devel/message/55095 Mute This Topic: https://groups.io/mt/71625850/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 Sun May 5 08:12:24 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+55096+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+55096+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952378; cv=none; d=zohomail.com; s=zohoarc; b=c2W14Bv4v0fAzP4LPuDPxRehP+ewJR7C1/DNea5Um/5HAvwkjPk8OccaAhoC0xJsQQ9MIOkEX8Z37ncU3O2z0Lo+D4aTX0fbAv6njs8ATITl3Dybd/Xs4tg57s2PZhKCdDPiCDVeXKvYJmfrXlkV8jkWncIL4UcmWF5CzhN+6jE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952378; 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=i9o1n/0h8RLO4peHxSJWSCZs0IQJ3J4K1XS473Bq0RE=; b=TCHRKjnvOaEkMvSAWvA0l3OMw8vGtayEckDVb+D3Gvv/lIlOK/mEjk/3jiKuTjCTts8Xl16G5H1235uqv31WF4ytauXZsZvTltZB2f6eTOAtiVficirIPVZGVYxrE986ptEQxthsGRwA61AvNK0FLPQU+L7Jr66fXYo166KvTfg= 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+55096+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 1582952378985826.2206434986808; Fri, 28 Feb 2020 20:59:38 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id FdaaYY1788612xycE8zRpoP8; Fri, 28 Feb 2020 20:59:37 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.10487.1582952377541723644 for ; Fri, 28 Feb 2020 20:59:37 -0800 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 01T4vpuA016450; Sat, 29 Feb 2020 04:59:37 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0a-002e3701.pphosted.com with ESMTP id 2yfgfd07ds-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:37 +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 75C5562; Sat, 29 Feb 2020 04:59:36 +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 DE7DB36; Sat, 29 Feb 2020 04:59:33 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com, Bret Barkelew , Sean Brogan , Leif Lindholm , Michael D Kinney , Liming Gao , Gilbert Chen , Daniel Helmut Schaefer Subject: [edk2-devel] [edk2-staging/RISC-V-V2: CI Config PATCH v1 3/6] MdeModulePkg: Revise MdeModulePkg yaml file for RISC-V EDK2 CI. Date: Sat, 29 Feb 2020 12:23:02 +0800 Message-Id: <20200229042305.1794-4-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-1-abner.chang@hpe.com> 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: 9Ot1N7LybS8m8OXoEWwzqianx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952377; bh=C3bzVgbxtqxJspaj4OuKs5QxTjPv7OHwZ/ZY5G2nH8g=; h=Cc:Date:From:Reply-To:Subject:To; b=Ia4mWf+li+WpemnMNNHD6WowtHJ8AezVT32t46opRXR/2VaAbnM8C+X5zU8+SCG6XLN yKU7F8Q6A/xzWKhjfRLCNRN87hg9g8Za0zIYv0uBhAKePTgTuE/haXZ+IhCq//dDWb8lY LjSmXY1w/1AjufHTxbolDKzRw4Po7ZG+3JE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - EDK CI for RISC-V architecture Revise yaml file for EDK2 CI testing on RISC-V architecture. Signed-off-by: Abner Chang Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Michael D Kinney Cc: Liming Gao Cc: Gilbert Chen Cc: Daniel Helmut Schaefer Signed-off-by: Abner Chang --- MdeModulePkg/MdeModulePkg.ci.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.= ci.yaml index 3b6e747075..121d659aa8 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -25,7 +25,8 @@ "MdePkg/MdePkg.dec", "MdeModulePkg/MdeModulePkg.dec", "StandaloneMmPkg/StandaloneMmPkg.dec", - "ArmPkg/ArmPkg.dec" # this should be fixed by promoting an ab= straction + "ArmPkg/ArmPkg.dec", # this should be fixed by promoting an a= bstraction + "RiscVPkg/RiscVPkg.dec" # this should be fixed by promoting an= abstraction ], # For host based unit tests "AcceptableDependencies-HOST_APPLICATION":[ --=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 (#55096): https://edk2.groups.io/g/devel/message/55096 Mute This Topic: https://groups.io/mt/71625851/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 Sun May 5 08:12:24 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+55097+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+55097+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952382; cv=none; d=zohomail.com; s=zohoarc; b=IpUYtl7DPqjq7jWGvqXTtpj2GOrIFaI/d2Y335h3o8Pzjy7uBqXJWIbOFHQr086j79o4N5EqMsBw1qOn9Pv71j3utQ+U4agxb0s3KB/B1Mea8krrvP/sxeDgsOy8MamzzlDHg4xDuv1W3OlX2+5UZCyY8KTyK1TUbpDKLvL1PKg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952382; 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=IH3fPfMSeMJ/2aN9ajrTEE6JA7K3L+ueMXwfBHuZtfc=; b=kssIza1EAUppPDoDqlqc3mDlth3Rn0MiV9IZq+A+LzfvOUU1bSGmI/ojHYAfQiOwZF59s+qjyKaB0ZVECQHni6FGMaVi4TwHeAdRRd+oaIv8CE0iF7iruOXbnEibD4r7/qA0O9IK7VbgHCVC9CGdoAzkhJk2t3KlzP6BglR8enM= 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+55097+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 1582952382358165.12979388103633; Fri, 28 Feb 2020 20:59:42 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id FC6lYY1788612xBKZEsERRV4; Fri, 28 Feb 2020 20:59:41 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web09.10488.1582952380854486573 for ; Fri, 28 Feb 2020 20:59:40 -0800 X-Received: from pps.filterd (m0148663.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01T4raCx021028; Sat, 29 Feb 2020 04:59:40 GMT X-Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0a-002e3701.pphosted.com with ESMTP id 2yfg5mr9n6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:40 +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 AAAC562; Sat, 29 Feb 2020 04:59:39 +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 DE64336; Sat, 29 Feb 2020 04:59:36 +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-staging/RISC-V-V2: CI Config PATCH v1 4/6] BaseTools: Enable RISC-V architecture for RISC-V EDK2 CI. Date: Sat, 29 Feb 2020 12:23:03 +0800 Message-Id: <20200229042305.1794-5-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-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: cX5vTreSV4yEZ1Z4NdKRURxWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952381; bh=hAk3vuNiUOM1hWZzDDKvjY+DJZi0rig8Az5CwErkZQI=; h=Cc:Date:From:Reply-To:Subject:To; b=JzFpZFZayI4DmkX9YjSR0mSCw1o3dWoR9mJl9fNPxRWyd8pcRKCgydB7fdn4JAAdlT9 Drkk62EUzfbGJsWdHocjZgXXfHCfUbbhJqhzltFOGlki5aMwKTqBEfH486MOFqXF+3PoS 9sPKdAzll7t7e82CHmTboh3EsmXg0QMmTTE= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - 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 | 21 +++++++++++++ .../LinuxGcc5ToolChain/LinuxGcc5ToolChain.py | 31 +++++++++++++++++++ 2 files changed, 52 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..9e989392f0 --- /dev/null +++ b/BaseTools/Bin/gcc_riscv64_unknown_ext_dep.yaml @@ -0,0 +1,21 @@ +## @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": "file:///home/abner/gcc-riscv-9.2.0-2020.02-x86_64_riscv64-unk= nown-gnu.tar.xz", + "version": "9.2.0", + "compression_type": "tar", + "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 (#55097): https://edk2.groups.io/g/devel/message/55097 Mute This Topic: https://groups.io/mt/71625852/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 Sun May 5 08:12:24 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+55098+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+55098+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952385; cv=none; d=zohomail.com; s=zohoarc; b=cnx+Lp5oM+4FQjjIIA9dhC0GzxNJXsnhTNdLe51pMPqpZp3SIxC6XazIk4g00acJ8TOqis4YFojUFb2y0Yr5lP4/GOPfV0TwNBlzfz+7Rn7y1uoGazxYRA5k6royVGnYK1pttMhJ+chJ+7gNgAsBDWbIeom3QqPTMMURacDFDBc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952385; 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=JlFJshyM+pAOi/eqbGFlXYZq8Jw2Iy0BRW5278TLKYA=; b=dSsgeFnmRd01vCe0XrA08Fi1TDqqx5NlKzooOiucuU1r/JBADqISzNdTVkFQSVf31M/aNtW2JhA9UOBejqQgoVccD4de0sll0mod4ORdWbENz/X/QGQkZbrXSLahHmxGNmH4W4PAHozckPDnw6UCkS5GQCN9ARWrbKy986jB+zM= 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+55098+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 1582952385458589.3772868828834; Fri, 28 Feb 2020 20:59:45 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id fFH8YY1788612xCMDR0Rirl4; Fri, 28 Feb 2020 20:59:44 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.10528.1582952383919831172 for ; Fri, 28 Feb 2020 20:59:44 -0800 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 01T4rIFv031623; Sat, 29 Feb 2020 04:59:43 GMT X-Received: from g2t2354.austin.hpe.com (g2t2354.austin.hpe.com [15.233.44.27]) by mx0b-002e3701.pphosted.com with ESMTP id 2yfh5j81vh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:43 +0000 X-Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2354.austin.hpe.com (Postfix) with ESMTP id 72D2483; Sat, 29 Feb 2020 04:59:42 +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 2133036; Sat, 29 Feb 2020 04:59:39 +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-staging/RISC-V-V2: CI Config PATCH v1 5/6] .azurepipelines: Add RISC-V architecture on RISC-V EDK2 CI. Date: Sat, 29 Feb 2020 12:23:04 +0800 Message-Id: <20200229042305.1794-6-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-1-abner.chang@hpe.com> 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: QweS28mBZzgUB1LmkeE9i3hRx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952384; bh=rn8/2QEUKzPtU8zOiOlw/h6DsHZy6+SHQgYlaNVFVFg=; h=Cc:Date:From:Reply-To:Subject:To; b=LJm2v02t3LW5xI2YQre7ifMCPnd/QpPZAg+ZoqSUYlxWT2HlMiyC5uTiznMUdTQe74L KtcOTj9+N0eflGP6AKI0xH4EWL7rBOfCqnv/4G9ffHjUhPhGvGKLi359OGivn4drtzEgf v0DnY6pM3tgAGvNTKmWW8K/LCtF+kLUZKgU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - EDK CI for RISC-V architecture 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 (#55098): https://edk2.groups.io/g/devel/message/55098 Mute This Topic: https://groups.io/mt/71625853/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 Sun May 5 08:12:24 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+55099+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+55099+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1582952388; cv=none; d=zohomail.com; s=zohoarc; b=ckFBcym+eE5c4RXjArQhQimsGEkmhTszp+4pji1F7UsBnYOVFZo3e/n3zWYwmUvvN2B5ZTzKKuoRW/9gz8YCOKhs5P5zCalXoCvSLLrB5l+lhb5WBkozhDEE68xthhBjZ0j+SR/ViLbAoBMNGbmWdsNWD0mYz6QrfVTxeS4g1Xc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582952388; 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=KA99PVUejNn/XeRsjDKRMBM3GBCov+pSJTk9aj5B6ik=; b=ivEAVDASmqZIydovye68Mp67bclHZ1fMKXZiKeKndwMLF4ISg4AngpMRlBDg53YirOsIIC2OuVwfWUvJ3/Gko0pD2fn7bzs4O8XwaOLc9pY9hXzMZiKnY/YfXh6l1E2Jqaxz0p0ApZ054skHMVl10vO9KyOBzABuc6R6R8Vj67A= 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+55099+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 1582952388244607.4496406136075; Fri, 28 Feb 2020 20:59:48 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id WZaQYY1788612x8DNhVVjmO5; Fri, 28 Feb 2020 20:59:47 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web11.10530.1582952386593121819 for ; Fri, 28 Feb 2020 20:59:46 -0800 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 01T4x8gX025187; Sat, 29 Feb 2020 04:59:45 GMT X-Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 2yfh8rr146-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 29 Feb 2020 04:59:45 +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 3395277; Sat, 29 Feb 2020 04:59:45 +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 DEA8736; Sat, 29 Feb 2020 04:59:42 +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-staging/RISC-V-V2: CI Config PATCH v1 6/6] .pytool: Add RISC-V architecture on RISC-V EDK2 CI. Date: Sat, 29 Feb 2020 12:23:05 +0800 Message-Id: <20200229042305.1794-7-abner.chang@hpe.com> In-Reply-To: <20200229042305.1794-1-abner.chang@hpe.com> References: <20200229042305.1794-1-abner.chang@hpe.com> 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: lI6sYdGRyXivmRahRQxAuVrWx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1582952387; bh=9Zfu9pS2s6pPK3LHiPyV1Cm63qd2p7XTkW5/Ui3TCak=; h=Cc:Date:From:Reply-To:Subject:To; b=fCPGWPqX5M7Q9Aa8qRVO9so68aspjvEqNx61uuzKxVP2JgSAayXUG/P3icrrxDpmjev YBCQXv0dzTa/ZjJOYnWnj7ny54NnQyktKxs1cvBuUWP8bY6D5HR8cU/AzD4asAIufQFDx H88B26G2qO/1h8jRCYcKjonTHr+i3izwSUM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" BZ:2562 - EDK CI for RISC-V architecture 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 (#55099): https://edk2.groups.io/g/devel/message/55099 Mute This Topic: https://groups.io/mt/71625854/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-