Skip to content

Add RISC-V support to select-compiler.sh - #4451

Open
sxa wants to merge 1 commit into
nodejs:mainfrom
sxa:riscv64
Open

Add RISC-V support to select-compiler.sh#4451
sxa wants to merge 1 commit into
nodejs:mainfrom
sxa:riscv64

Conversation

@sxa

@sxa sxa commented Sep 1, 2026

Copy link
Copy Markdown
Member

I've put this new section at the top with an architecture-specific clause for now so it would override any of the defaults for Debian/Ubuntu in the future however since I've now removed most of of the RISC-V magic bits into nodejs/node#65708 this could potentially be changed. We'll likely revisit when we're able to get some production machines into the CI anyway ... At the moment some of the systems have multiple versions of clang available so I'm locking this to 21 which is available on all of them (and not locking RUST as the version in each environment varies)

The systems I have for now are running bianbu or armbian distributions so I could make the switch statement *armbian*|*bianbu*) but I'd prefer to keep it like this for now to give me some flexibility while this is still in flux. If anyone strongly disagrees in the reviews I'll revisit.

Also noting that while we can build v24/v22 in RISC-V with gcc I'm only making changes for the v25+ clang sections for now.

@sxa sxa self-assigned this Sep 1, 2026
Signed-off-by: Stewart X Addison <sxa@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants