* [PATCH v1 2/3] .azurepipelines: Enable RISC-V architecture for RISC-V EDK2 CI.
2020-04-10 7:13 [PATCH v1 0/3] Enable RISC-V architecture for RISC-V EDK2 CI Abner Chang
@ 2020-04-10 7:13 ` Abner Chang
2020-04-10 7:13 ` [PATCH v1 3/3] .pytool: " Abner Chang
2020-04-25 3:36 ` [edk2-devel] [PATCH v1 0/3] " Sean
2 siblings, 0 replies; 5+ messages in thread
From: Abner Chang @ 2020-04-10 7:13 UTC (permalink / raw)
To: devel
Cc: abner.chang, Bret Barkelew, Sean Brogan, Leif Lindholm,
Michael D Kinney, Gilbert Chen, Daniel Helmut Schaefer
Add RISC-V architecture on RISC-V EDK2 CI.
Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com>
---
.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 rights reserved.<BR>
# 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"
--
2.25.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v1 3/3] .pytool: Enable RISC-V architecture for RISC-V EDK2 CI.
2020-04-10 7:13 [PATCH v1 0/3] Enable RISC-V architecture for RISC-V EDK2 CI Abner Chang
2020-04-10 7:13 ` [PATCH v1 2/3] .azurepipelines: " Abner Chang
@ 2020-04-10 7:13 ` Abner Chang
2020-04-25 3:36 ` [edk2-devel] [PATCH v1 0/3] " Sean
2 siblings, 0 replies; 5+ messages in thread
From: Abner Chang @ 2020-04-10 7:13 UTC (permalink / raw)
To: devel
Cc: abner.chang, Bret Barkelew, Sean Brogan, Leif Lindholm,
Michael D Kinney, Gilbert Chen, Daniel Helmut Schaefer
Add RISC-V architecture on RISC-V EDK2 CI testing.
Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Gilbert Chen <gilbert.chen@hpe.com>
Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com>
---
.pytool/CISettings.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/.pytool/CISettings.py b/.pytool/CISettings.py
index 79593d9dc5..0111565ef8 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
@@ -54,10 +55,12 @@ class Settings(CiBuildSettingsManager, UpdateSettingsManager, SetupSettingsManag
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 +133,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
--
2.25.0
^ permalink raw reply related [flat|nested] 5+ messages in thread