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.web11.4951.1586505081989586348 for ; Fri, 10 Apr 2020 00:51:22 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=036964ab29=abner.chang@hpe.com) 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 03A7hUVS024547; Fri, 10 Apr 2020 07:51:21 GMT Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3091puv3q2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 10 Apr 2020 07:51:21 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id D281071; Fri, 10 Apr 2020 07:51:20 +0000 (UTC) Received: from UB16Abner.asiapacific.hpqcorp.net (ub16abner.asiapacific.hpqcorp.net [15.119.209.229]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 1D9B248; Fri, 10 Apr 2020 07:51:18 +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: [PATCH v1 3/3] .pytool: Enable RISC-V architecture for RISC-V EDK2 CI. Date: Fri, 10 Apr 2020 15:13:21 +0800 Message-Id: <20200410071321.7159-4-abner.chang@hpe.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200410071321.7159-1-abner.chang@hpe.com> References: <20200410071321.7159-1-abner.chang@hpe.com> MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-10_02:2020-04-07,2020-04-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 suspectscore=1 lowpriorityscore=0 mlxlogscore=902 priorityscore=1501 bulkscore=0 mlxscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004100064 Content-Transfer-Encoding: quoted-printable Add RISC-V architecture on RISC-V EDK2 CI testing.=0D =0D Signed-off-by: Abner Chang =0D =0D Cc: Bret Barkelew =0D Cc: Sean Brogan =0D Cc: Leif Lindholm =0D Cc: Michael D Kinney =0D Cc: Gilbert Chen =0D Cc: Daniel Helmut Schaefer =0D ---=0D .pytool/CISettings.py | 9 +++++++--=0D 1 file changed, 7 insertions(+), 2 deletions(-)=0D =0D diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py=0D index 79593d9dc5..0111565ef8 100644=0D --- a/.pytool/CISettings.py=0D +++ b/.pytool/CISettings.py=0D @@ -1,6 +1,7 @@=0D # @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 @@ -54,10 +55,12 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag=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 +133,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsMa= nager, SetupSettingsManag=0D 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 -- =0D 2.25.0=0D =0D