Skip to content

build: use Ubuntu 24.04 and gcc-14 for LoongArch64 builds #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Xiao-Tao
Copy link
Contributor

@Xiao-Tao Xiao-Tao commented Jun 5, 2025

The build of the LoongArch64 architecture has been stopped for a while, and the problem affecting the build has been fixed.
I tested the v18.x~24.x versions in the new environment

  1. Migrated build environment to ubuntu:24.04 base image
  2. Adopted gcc-14-loongarch64-linux-gnu and g++-14-loongarch64-linux-gnu toolchains for LoongArch64 architecture builds
  3. Executed comprehensive builds using ./bin/local_build.sh -r loong64 -v $version across Node.js versions 18.x to 24.x
    Verified Build Success:
Version Range Build Status Notes
18.x v18.18.0 - v18.20.6 Successful v18.20.7~ requires simdutf ≥6.2.1(nodejs/node#56280 (comment))
20.x v20.10.0 - v20.19.2(current) Successful
21.x v21.0.0 - v21.7.3(EOL) Successful
22.x v22.14.0 - v22.16.0(current) Successful
23.x v23.9.0 - v23.11.1 (current) Successful
24.x v24.0.0 - v24.1.0(current) Successful

I modified recipes/loong64/should-build.sh to determine the node version

What should I do to restore the loong64 architecture build?

Best regards

- Switch base image to ubuntu:24.04.
- Use gcc-14-loongarch64-linux-gnu and g++-14-loongarch64-linux-gnu
  as the toolchains.
- Adjust Node.js version check in recipes/loong64/should-build.sh.
@shipujin
Copy link
Member

shipujin commented Jun 6, 2025

Looks all right

LGTM

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.

2 participants