fibjs/fibjs

Add LoongArch new-world CI

Closed this issue · 1 comments

As @xry111 noted in loongson-community/areweloongyet#127, The existing loong64 CI is targetting Loongnix, which is "old-world", and not compatible with systems built entirely from upstream sources.

We need to distinguish between the two ABIs by renaming the existing loong64 target, then adding a cross image built from upstream sources (crosstool-ng is known to work).

As for naming: it's customary for the new world ABI to be named loong64 when it comes to Docker (architecture names there follow the Go GOARCH convention), but there isn't a widely accepted name for the old world ABI. Loongson themselves may prefer calling the old world as abi1 or abi1.0, but in the wild a shorter name like loong64ow could be acceptable too.

Related reading material: https://areweloongyet.com/docs/old-and-new-worlds

Resolved some compatibility issues regarding loongarch new worlds, changed loong64 for building new world releases, added loong64ow for old world releases.

c4f5ac1