Skip to content

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

Merged
rvagg merged 1 commit into
nodejs:mainfrom
Xiao-Tao:loong64-build
Jul 1, 2025
Merged

build: use Ubuntu 24.04 and gcc-14 for LoongArch64 builds#172
rvagg merged 1 commit into
nodejs:mainfrom
Xiao-Tao:loong64-build

Conversation

@Xiao-Tao

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

Copy link
Copy Markdown
Contributor

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

shipujin commented Jun 6, 2025

Copy link
Copy Markdown
Member

Looks all right

LGTM

@Xiao-Tao

Xiao-Tao commented Jul 1, 2025

Copy link
Copy Markdown
Contributor Author

Hi, could you provide some suggestions? @shipujin @rvagg

Best regards

@rvagg
rvagg merged commit 5dd6049 into nodejs:main Jul 1, 2025
@Xiao-Tao Xiao-Tao mentioned this pull request Jul 30, 2025
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