Add support for the RISC-V architecture

Supports RV64GC (RISC-V 64-bit with general-purpose and compressed-instruction extensions)
This commit is contained in:
Aaron Franke
2021-08-28 17:40:32 -05:00
parent 3bebbcacdb
commit 474d0f58f5
7 changed files with 25 additions and 4 deletions

View File

@@ -1,5 +1,7 @@
def can_build(env, platform):
# Depends on Embree library, which only supports x86_64 and aarch64.
if env["arch"].startswith("rv"):
return False
if platform == "android":
return env["android_arch"] in ["arm64v8", "x86_64"]