Add a `riscv32` cpu constraint. We intend to use this contraint for cpu & compiler selection for the OpenTitan project. We are working on creating a riscv32 compiler configuration in the bazel-embedded project. Signed-off-by: Chris Frantz <cfrantz@google.com>
diff --git a/cpu/BUILD b/cpu/BUILD index 51a968a..e4c5032 100644 --- a/cpu/BUILD +++ b/cpu/BUILD
@@ -121,6 +121,11 @@ ) constraint_value( + name = "riscv32", + constraint_setting = ":cpu", +) + +constraint_value( name = "riscv64", constraint_setting = ":cpu", )