Skip to content

ubuntu: Install LoongArch64 cross-compiler and QEMU

Matthew Pickering requested to merge wip/loongarch into master

Using the newest ubuntu 24.04 for loongarch CI testing, worth noticing that ubuntu's cross-toolchain is ended with -14 version number, so we remove it to avoid specify CC and NM while compiling.

Building

./boot
./configure --target=loongarch64-linux-gnu --with-intree-gmp
hadrian/build -j16 --docs=none

Testing

CROSS_EMULATOR="qemu-loongarch64 -L /usr/loongarch64-linux-gnu/" EXTRA_HC_OPTS='-fexternal-interpreter' hadrian/build -j16 --docs=none --flavour=validate --bignum=native --test-speed=fast test`

Merge request reports

Loading