From a303e0a3269d702a25f225618146bd77803457c8 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 --- dist/index.js | 3 +++ dist/post/index.js | 3 +++ packages/setup-ocaml/src/constants.ts | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/dist/index.js b/dist/index.js index fccad240..b58b3224 100644 --- a/dist/index.js +++ b/dist/index.js @@ -148422,6 +148422,9 @@ const ARCHITECTURE = (() => { case "arm64": { return "arm64"; } + case "riscv64": { + return "riscv64"; + } case "s390x": { return "s390x"; } diff --git a/dist/post/index.js b/dist/post/index.js index d37997b8..580a8163 100644 --- a/dist/post/index.js +++ b/dist/post/index.js @@ -113399,6 +113399,9 @@ const constants_ARCHITECTURE = (() => { case "arm64": { return "arm64"; } + case "riscv64": { + return "riscv64"; + } case "s390x": { return "s390x"; } diff --git a/packages/setup-ocaml/src/constants.ts b/packages/setup-ocaml/src/constants.ts index 23890d47..ee67d6b4 100644 --- a/packages/setup-ocaml/src/constants.ts +++ b/packages/setup-ocaml/src/constants.ts @@ -13,6 +13,10 @@ export const ARCHITECTURE = (() => { case "arm64": { return "arm64"; } + case "riscv64": { + return "riscv64"; + } + case "s390x": { return "s390x"; }