From c44cda9e121292f6d7924323a3df62d2eb67d624 Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Mon, 23 Dec 2024 19:07:45 +0800 Subject: [PATCH] add riscv64 support https://github.com/app/riscv-builders runs on real riscv64 machine, and I've tested ocaml 4.11 supported riscv64 --- packages/setup-ocaml/src/constants.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/setup-ocaml/src/constants.ts b/packages/setup-ocaml/src/constants.ts index 23890d47..17144100 100644 --- a/packages/setup-ocaml/src/constants.ts +++ b/packages/setup-ocaml/src/constants.ts @@ -19,6 +19,9 @@ export const ARCHITECTURE = (() => { case "x64": { return "x86_64"; } + case "riscv64": { + return "riscv64"; + } default: { throw new Error("The architecture is not supported."); }