You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ak...@apache.org on 2022/07/02 13:15:48 UTC

[buildstream] 01/01: _platform: add RISC-V to the list of supported platforms

This is an automated email from the ASF dual-hosted git repository.

akitouni pushed a commit to branch abderrahim/riscv
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit c2120cbc8b7b1379cdafc57c469a4b36f543618b
Author: Abderrahim Kitouni <ab...@codethink.co.uk>
AuthorDate: Sat Jul 2 14:15:21 2022 +0100

    _platform: add RISC-V to the list of supported platforms
    
    See https://github.com/bazelbuild/remote-apis/pull/227
---
 src/buildstream/_platform/platform.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/buildstream/_platform/platform.py b/src/buildstream/_platform/platform.py
index 9ecfd26d9..b86d60241 100644
--- a/src/buildstream/_platform/platform.py
+++ b/src/buildstream/_platform/platform.py
@@ -112,6 +112,10 @@ class Platform:
             "powerpc64le": "power-isa-le",  # Used in GCC/LLVM
             "ppc64": "power-isa-be",
             "ppc64le": "power-isa-le",
+            "rv32g": "rv32g",
+            "rv64g": "rv64g",
+            "riscv32": "rv32g",
+            "riscv64": "rv64g",
             "sparc": "sparc-v9",
             "sparc64": "sparc-v9",
             "sparc-v9": "sparc-v9",