From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=033792669b=abner.chang@hpe.com) 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 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 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) 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/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> X-Mailer: git-send-email 2.25.0 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 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-09_02:2020-03-08,2020-03-09 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 suspectscore=0 bulkscore=0 malwarescore=0 adultscore=0 clxscore=1015 mlxlogscore=912 spamscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003090075 Content-Transfer-Encoding: quoted-printable 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=0D #=0D # Copyright (c) Microsoft Corporation.=0D +# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All right= s reserved.
=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D ##=0D import os=0D @@ -49,15 +50,19 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "ShellPkg",=0D "FatPkg",=0D "CryptoPkg",=0D - "UnitTestFrameworkPkg"=0D + "UnitTestFrameworkPkg",=0D + "RiscVPkg",=0D + "RiscVPlatformPkg"=0D )=0D =0D def GetArchitecturesSupported(self):=0D ''' return iterable of edk2 architectures supported by this build = '''=0D - return ("IA32",=0D + return (=0D + "IA32",=0D "X64",=0D "ARM",=0D - "AARCH64")=0D + "AARCH64",=0D + "RISCV64")=0D =0D def GetTargetsSupported(self):=0D ''' return iterable of edk2 target tags supported by this build ''= '=0D @@ -130,6 +135,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag scopes +=3D ("gcc_aarch64_linux",)=0D if "ARM" in self.ActualArchitectures:=0D scopes +=3D ("gcc_arm_linux",)=0D + if "RISCV64" in self.ActualArchitectures:=0D + scopes +=3D ("gcc_riscv64_unknown",)=0D =0D return scopes=0D =0D @@ -144,6 +151,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag "CryptoPkg/Library/OpensslLib/openssl", False))=0D rs.append(RequiredSubmodule(=0D "UnitTestFrameworkPkg/Library/CmockaLib/cmocka", False))=0D + rs.append(RequiredSubmodule(=0D + "RiscVPkg/Library/RiscVOpensbiLib/opensbi", False))=0D return rs=0D =0D def GetName(self):=0D --=20 2.25.0