BZ:2562: https://bugzilla.tianocore.org/show_bug.cgi?id=2562
Add RISC-V architecture on RISC-V EDK2 CI testing. Signed-off-by: Abner Chang <abner.ch...@hpe.com> Cc: Bret Barkelew <bret.barke...@microsoft.com> Cc: Sean Brogan <sean.bro...@microsoft.com> Cc: Leif Lindholm <l...@nuviainc.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Gilbert Chen <gilbert.c...@hpe.com> Cc: Daniel Helmut Schaefer <daniel.schae...@hpe.com> --- .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 rights reserved.<BR> # SPDX-License-Identifier: BSD-2-Clause-Patent ## import os @@ -49,15 +50,19 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag "ShellPkg", "FatPkg", "CryptoPkg", - "UnitTestFrameworkPkg" + "UnitTestFrameworkPkg", + "RiscVPkg", + "RiscVPlatformPkg" ) def GetArchitecturesSupported(self): ''' return iterable of edk2 architectures supported by this build ''' - return ("IA32", + return ( + "IA32", "X64", "ARM", - "AARCH64") + "AARCH64", + "RISCV64") def GetTargetsSupported(self): ''' return iterable of edk2 target tags supported by this build ''' @@ -130,6 +135,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag scopes += ("gcc_aarch64_linux",) if "ARM" in self.ActualArchitectures: scopes += ("gcc_arm_linux",) + if "RISCV64" in self.ActualArchitectures: + scopes += ("gcc_riscv64_unknown",) return scopes @@ -144,6 +151,8 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag "CryptoPkg/Library/OpensslLib/openssl", False)) rs.append(RequiredSubmodule( "UnitTestFrameworkPkg/Library/CmockaLib/cmocka", False)) + rs.append(RequiredSubmodule( + "RiscVPkg/Library/RiscVOpensbiLib/opensbi", False)) return rs def GetName(self): -- 2.25.0 -=-=-=-=-=-=-=-=-=-=-=- 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/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-