diff --git a/cpu/BUILD b/cpu/BUILD index 6497452..a3e347b 100644 --- a/cpu/BUILD +++ b/cpu/BUILD @@ -188,3 +188,8 @@ constraint_value( name = "riscv64", constraint_setting = ":cpu", ) + +constraint_value( + name = "sw_64", + constraint_setting = ":cpu", +) \ No newline at end of file diff --git a/host/extension.bzl b/host/extension.bzl index 69410cd..a7db5af 100644 --- a/host/extension.bzl +++ b/host/extension.bzl @@ -17,6 +17,8 @@ def _translate_cpu(arch): return "mips64" if arch in ["riscv64"]: return "riscv64" + if arch in ["sw_64"]: + return "sw_64" return None def _translate_os(os):