From nobody Sun May 5 14:42:44 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+55359+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+55359+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301764; cv=none; d=zohomail.com; s=zohoarc; b=DmMGboHBfOP/93yt/hWuAQdUzM+6ZV6WtH4cR25EbMJcVqQ2a2ORHMb9A3HYi4j6sdbM++ZuSwyZTKJ4woyq3g92R9r4WwZNU6oAvY6oyGu37Nzmfo2+p3j3cK6rEdfwTLo1OgiTrPXSrmgTGDYgvsE2z16JidtomeKIOUsfUBc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301764; 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=39ERS6na2+bhAzp2evRjiirbtf8WelIX7GTt1OvJmjk=; b=FV71hvzptUiJkt/RLHXiSB+5MaLJzUFKpVi2lsOgqIa9dmW3LLMlVJtjvbpi1rB/UIppC+6bcxqWS53n5QQdTe6fMjZDD3iFytueJTVNf6SgshZjVkHYltVpmT43GyW3bX1THJDGv4fI1xk4pIIwd5fnQfHlnPPiuVl8scx0Xsc= 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+55359+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 1583301764539140.42597611427755; Tue, 3 Mar 2020 22:02:44 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ELDcYY1788612x2O39SJDhLg; Tue, 03 Mar 2020 22:02:43 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web11.7561.1583301763218521785 for ; Tue, 03 Mar 2020 22:02:43 -0800 X-Received: from pps.filterd (m0150241.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02462h0v020868; Wed, 4 Mar 2020 06:02:43 GMT X-Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0a-002e3701.pphosted.com with ESMTP id 2yj0at3fwd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:42 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id E8C648D; Wed, 4 Mar 2020 06:02:41 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id DCD8748; Wed, 4 Mar 2020 06:02:39 +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 v1 1/6] RiscVPlatformPkg: Add RiscVPlatformPkg yaml file for EDK2 CI. Date: Wed, 4 Mar 2020 13:26:02 +0800 Message-Id: <20200304052607.31801-2-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: aG5bpFPUZyrU44zfi9lH0p2Xx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301763; bh=AYYcP9QJYZOejSvW/m+R38OcKUvotJJ/ep5MYT0zMGQ=; h=Cc:Date:From:Reply-To:Subject:To; b=i7UlJaF/zFj4gb499F7GuzMp3swR2pqjDYVGndO6aWZTVNt4iabDJsW42EXhoSa/6pG cQMKLpZvSbQYP6TjKeSa667LlK4tNDS7kWRbgcDCxMNSq6QNS/EM88ltclCGkiaH+VTfK CJs9oVQMVFsQ96t5hkplQ0pbhFHtmDBbWyU= 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 --- 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 (#55359): https://edk2.groups.io/g/devel/message/55359 Mute This Topic: https://groups.io/mt/71720421/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 14:42:44 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+55360+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+55360+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301766; cv=none; d=zohomail.com; s=zohoarc; b=KEtuN3Pisb+hKbf9i5DZrKxFSSmqC8JTD1CV6r/jiS6h1YB1ENROj1bhICeD2LaVb5hnvg4wV97w0b4JpP8zV0Soc4guueKzqHN2HFuB3Yn6DUZBfpMTGKRHO0oyk8DSA1drh5GHUesZPiF9vkAUaH0gYxxVeJm1pSoNwa4qNnQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301766; 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=51XpSno7GJtbXTzo6mQjheHzDdAeAnxNBYnxCtj7qKA=; b=nEzJH995pFQMb5A09B4ouc6rGLCiLJH1/qiNqsJi2KNvCYcLi6bXcqwHdzaJHTWm0VK8wQ1RMKEeB6wfDRVr09tq1qrb0P5FP7/N3BI1mBai/kHG7mlBuYfxU7m560N4JIs68A2wZx84dv0KbxrtWHsOtU78k2Vjh5ZNW+6hSIU= 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+55360+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 1583301766751946.4850372800356; Tue, 3 Mar 2020 22:02:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id ENFVYY1788612x0EEDi7CluV; Tue, 03 Mar 2020 22:02:45 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web10.7774.1583301765458527409 for ; Tue, 03 Mar 2020 22:02:45 -0800 X-Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0245wFpZ005481; Wed, 4 Mar 2020 06:02:45 GMT X-Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 2yj5skrhk4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:45 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 771DCB4; Wed, 4 Mar 2020 06:02:44 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 5F24748; Wed, 4 Mar 2020 06:02:42 +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 v1 2/6] RiscVPkg: Add RiscVPkg yaml file for EDK2 CI. Date: Wed, 4 Mar 2020 13:26:03 +0800 Message-Id: <20200304052607.31801-3-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: cm7s0kyLeVpK9rsWmtOE3ccVx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301765; bh=ycoE5XwB9rUNkU2ixa6Lx2C6yqfrNBnPv/JBMMbPkyM=; h=Cc:Date:From:Reply-To:Subject:To; b=qWnL1zQsNA7QIc9SH77F3iM0ZSuaRVS1sfLtTGzSw/yWWtMnSvrL1meTiXnULpYIZI/ oftev5z9j8U5y7rz7gau56omx9+QYpp12gIOKm7IqL7T/m8cDwl0ytEsNcW6jtDafNSqz 84mrP8QqKXuf809YUfUR6O/rDToZptljRHY= 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 --- 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 (#55360): https://edk2.groups.io/g/devel/message/55360 Mute This Topic: https://groups.io/mt/71720423/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 14:42:44 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+55361+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+55361+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301769; cv=none; d=zohomail.com; s=zohoarc; b=AzakcPq5Cx8hUrfAAcMvjxFdtm1PdwsYie4JyiTwOndCUN0yPiUztq9QJxkQSpQR+W1hUzQ1/bX0jd+Blr1TQ+a2i1DEpEJL8lkMnGr9PklSN0esWXjqQKT7zrmCfu8Shpqi069/8J2o2eaVs5FCZjufWm7b4ecDuPzs9Aw6emk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301769; 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=vm0Sob2vn75+Jy7QwE8yjMDmepPXuKIThyk1OOEl3b8=; b=IGZfjAwCt9eQAJGQSB4Sw74oZflce50XeGEljZDvIP6DAQjD3S1xcU6e9KJpIvIqtQ+zP2ZXi/wSiVJYXe8Hk1afm1GiDidy3X77triVQhPg8QzHou5F/ksWvrckXDrwEn3ZbNXOvp9mMxZU/7nk4XhO07KmkFNXWq536dmuXGk= 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+55361+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 1583301769711131.4521621787851; Tue, 3 Mar 2020 22:02:49 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id usG8YY1788612xzOChphVZ81; Tue, 03 Mar 2020 22:02:48 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.7605.1583301768388490166 for ; Tue, 03 Mar 2020 22:02:48 -0800 X-Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0245wF0T005458; Wed, 4 Mar 2020 06:02:48 GMT X-Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 2yj5skrhkn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:48 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 5DBB870; Wed, 4 Mar 2020 06:02:47 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id D611B52; Wed, 4 Mar 2020 06:02:44 +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/master PATCH RISC-V CI v1 3/6] MdeModulePkg: Revise MdeModulePkg yaml file for RISC-V EDK2 CI. Date: Wed, 4 Mar 2020 13:26:04 +0800 Message-Id: <20200304052607.31801-4-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: v3lZ90v8txR9uhVzDILia1ejx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301768; bh=76ymijk2UqU30tCpJSTJQzHz7AMTUKAV51hJjQgGCUc=; h=Cc:Date:From:Reply-To:Subject:To; b=qKeK3h9Ei9PuCa6H2BzCliw4NUI51PZ4HWiyr/70QgGHd7viUvls9dlJWPy+IRClJC1 NIzOzjHrZwad3WcIieqPg+u0Byr+ng2ybng/9+QyGW0p9HpMaQ/H/oAUcwVXkkgbqL7Sc z/DRAaX0T9+Avq7NaV1cQGBoi5nts4olo3w= 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 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 --- MdeModulePkg/MdeModulePkg.ci.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MdeModulePkg/MdeModulePkg.ci.yaml b/MdeModulePkg/MdeModulePkg.= ci.yaml index 3b6e747075..d957af68fc 100644 --- a/MdeModulePkg/MdeModulePkg.ci.yaml +++ b/MdeModulePkg/MdeModulePkg.ci.yaml @@ -2,6 +2,7 @@ # CI configuration for MdeModulePkg # # Copyright (c) Microsoft Corporation +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent ## { @@ -25,7 +26,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 (#55361): https://edk2.groups.io/g/devel/message/55361 Mute This Topic: https://groups.io/mt/71720427/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 14:42:44 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+55362+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+55362+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301773; cv=none; d=zohomail.com; s=zohoarc; b=GVf8SDf/rQOEBLBJrjBqQPJ9c0quWJNPSmW/GTp1dGmLA3dYUWFzceTAE/EMsDuzndDfXEcOF1fqgMCn23fObhnv4t20Fip1nHza51Bd3ByyD23GtSCVkFULbT422A71PuFwpLGkH+sygD/1E7aaYz3z+kVtCSn0dcQIBxP2nHs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301773; 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=c5Sma6Xdjqw7H4MuRsK6weE1czXlQCbQ7oESaAzcZiA=; b=HRdYBesHwVlqIUz8pvItgn1HTqG1yu/LxxRBevhljVT8khB9NmegdFEoSKHcOx/gxrbozw6hrYa3zn+kw7ek1jc6V3ddl6uHYSLPrCJoIOQuWL8a8e/Fl4nMN2kNT+rz+XIwup/4vSyGbS87LYAerenntSzkzIbGBFckL8tp7Vc= 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+55362+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 1583301773087473.49415062914; Tue, 3 Mar 2020 22:02:53 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id uMtlYY1788612xdfNxS2Ipz6; Tue, 03 Mar 2020 22:02:52 -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.7624.1583301771721814221 for ; Tue, 03 Mar 2020 22:02:51 -0800 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 02460gli030947; Wed, 4 Mar 2020 06:02:51 GMT X-Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 2yj4vqh21d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:51 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 882D46F; Wed, 4 Mar 2020 06:02:50 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id C7E7B4A; Wed, 4 Mar 2020 06:02:47 +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 v1 4/6] BaseTools: Enable RISC-V architecture for RISC-V EDK2 CI. Date: Wed, 4 Mar 2020 13:26:05 +0800 Message-Id: <20200304052607.31801-5-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: 3drb4ZD0411qfUIGUftKVagjx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301772; bh=zbOaKAUWKxCheCdDCjXYT6sSrr/mQiceMrfREDjjD0o=; h=Cc:Date:From:Reply-To:Subject:To; b=fG72iYICLNKkYVqwkTAJTWtIAbrmirvm8fz4XoyOnDk6fTq0rY7NM0AmY+8TMcL73fI 1+0fHAkcQpVZ6Ua2hm7jAgogU26kzftVdw6gzJ/AHj0TJ8ywVyaY1UCXgxPM2EjoC52UZ yy/9ynkT0308q+a6zJoUCthvdiicC5A8WQk= 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 --- .../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..38fe300a68 --- /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": "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", + "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 (#55362): https://edk2.groups.io/g/devel/message/55362 Mute This Topic: https://groups.io/mt/71720429/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 14:42:44 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+55363+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+55363+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301776; cv=none; d=zohomail.com; s=zohoarc; b=cj5ut7lX74xdw6VDiSu04WJzJmRzE0xw3zvcGzJaik8cTKiRaHjrhrPzS7jx5pxu2DzTwu3QMRG3VsTMUAoDQsPf71PS1FmpL88b98G7ZkE7ZnwBPvluirgG6ejqz4VP1EdbQ+p8lb9O4oDwJyUH+W7nVvEB3ZZVcbYwcoh2+A0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301776; 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=QdyZt1n48KSERsZbCSBXofJKOiAIV0f2GLrhJx87b2E=; b=axbZ9GWN6baYDdEU8COyuBVf0N4KuCbE300Ot6CGpbTGWYrqwsV3paENCGTu1Hmhsty/ZYbhnRtTPC1QQxrH144Caph2FqF8Qtzmmsx3nb/N3ebhbLg9eF+mv0+jDnqSHGjWnvsH0mboFxaBHcnhvRx/SJSYZ8CvVQTt9gU6faE= 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+55363+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 1583301776991724.2614826113318; Tue, 3 Mar 2020 22:02:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id LoimYY1788612x2xI6GcDoiU; Tue, 03 Mar 2020 22:02:54 -0800 X-Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.7607.1583301774422041966 for ; Tue, 03 Mar 2020 22:02:54 -0800 X-Received: from pps.filterd (m0134420.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0245wFrT005466; Wed, 4 Mar 2020 06:02:54 GMT X-Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 2yj5skrhmc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:54 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id 4C1BC4F; Wed, 4 Mar 2020 06:02:53 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id F22754A; Wed, 4 Mar 2020 06:02:50 +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 v1 5/6] .azurepipelines: Add RISC-V architecture on RISC-V EDK2 CI. Date: Wed, 4 Mar 2020 13:26:06 +0800 Message-Id: <20200304052607.31801-6-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: 2NPwPGuxmLSlJJ3Ta9bvHjDfx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301774; bh=2l9SA4Saw9OS+aVi42rujZKhOZv9gOJsNfqBKw7MucQ=; h=Cc:Date:From:Reply-To:Subject:To; b=fImkLxNFPqC+nGW/A+NZ0tEJPv9SYPe61p9nGCPMJB4K9bfxjMrIoYH7QYRU0+CAGrI lcP7vNXDuMVxN4Luuhmd3pPMjbl6rZjC3xVN8owyq/OFE+WHy1/2qYsfJ+iWPjHChkrRJ YQB+i683m7gq0PLSF4dG4sFHjNCYa/pSWMA= 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 --- .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 (#55363): https://edk2.groups.io/g/devel/message/55363 Mute This Topic: https://groups.io/mt/71720430/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 14:42:44 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+55364+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+55364+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1583301778; cv=none; d=zohomail.com; s=zohoarc; b=SNAILK1YSSqKHv4chVuCcY7abtvfinSDV6ziwSgtiSwxP0MW17NZirV058mdkHLJoPax7dWqMbqZb7sQM8iNUwMjNLeZ41KoXg78SFm+tELQNAP9AU2k5+Jv+3izsiauacFioDiRxHIte0b2C4OxzIsYkd5izrY/dDUltaCgrM0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583301778; 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=IDgA65PwOUXlgzgINoaOQMVsnk+EyE+bJ6LiHkmACGE=; b=U3ZwX7h2jaFlYiFRCFKh3IYJ5fgKFAEn8tSwsT86bxT6RZ4GBpUAd6CKrZaSyHUBkO22CmaznCyO4q+NpHx/VEN0lFNB5SFuAh9uAWBpLx+k0xaJfBjq/H/m7DhDicvhEUvJjk6ak54prfxyD2K0JCIDHSLzkpwByC8tDUgF5oc= 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+55364+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 1583301778739236.81127413676438; Tue, 3 Mar 2020 22:02:58 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id fBR7YY1788612xRivo0djeu1; Tue, 03 Mar 2020 22:02:57 -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.7777.1583301777341215191 for ; Tue, 03 Mar 2020 22:02:57 -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 0245vtLX013894; Wed, 4 Mar 2020 06:02:56 GMT X-Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) by mx0b-002e3701.pphosted.com with ESMTP id 2yj4wah34a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 04 Mar 2020 06:02:56 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 2EA4D70; Wed, 4 Mar 2020 06:02:56 +0000 (UTC) X-Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id B8D524A; Wed, 4 Mar 2020 06:02:53 +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 v1 6/6] .pytool: Add RISC-V architecture on RISC-V EDK2 CI. Date: Wed, 4 Mar 2020 13:26:07 +0800 Message-Id: <20200304052607.31801-7-abner.chang@hpe.com> In-Reply-To: <20200304052607.31801-1-abner.chang@hpe.com> References: <20200304052607.31801-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: 1klTUQ4FQGoys41YD2YzRrw1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1583301777; bh=PcSPClsDnLL0OxtzhFOpu/ZLy2a6Eqysv1QUNVMnmgI=; h=Cc:Date:From:Reply-To:Subject:To; b=ENrE1aOFxfJ38OQ6tvceIRftMHPQWVTPRa0d7JFZypwu56ibLPV45mq1FgMs/XWxceh 6xJJp/orFZkhOj1hX67oKWR7PZvG/fnge79O1vWLrv6JSxd5VCFJGrejQsA2TPPxyF6PU H6bVnsgeb3SOeup5bqANANsA0Jtwtf+wDzA= 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 --- .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 (#55364): https://edk2.groups.io/g/devel/message/55364 Mute This Topic: https://groups.io/mt/71720432/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-