From 512e87dbb1f30b8d739be0cc5ca2d51823530afe Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Sat, 22 Aug 2026 11:06:51 +0900 Subject: Enable MIPS assembly in CI Explicitly enable assembly for the MIPS32 and MIPS64 test jobs so that the existing AES, BN, and SHA implementations are exercised by make check. Also fix the MIPS64 build to reference the generated MIPS64 assembly sources instead of the MIPS32. --- scripts/test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/test b/scripts/test index 2cff531..7d82a09 100755 --- a/scripts/test +++ b/scripts/test @@ -172,17 +172,18 @@ elif [ "$ARCH" = "riscv64" ]; then file apps/openssl/openssl elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then + # MIPS assembly is disabled by default, so enable it for CI coverage. if [ "$ARCH" = "mips32" ]; then sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ setup_cross_compiler mips-linux-gnu - ./configure --host=mips-linux-gnu + ./configure --host=mips-linux-gnu --enable-asm LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check else sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64 setup_cross_compiler mips64el-linux-gnuabi64 - ./configure --host=mips64el-linux-gnuabi64 + ./configure --host=mips64el-linux-gnuabi64 --enable-asm LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check fi -- cgit v1.2.3-55-g6feb From 6ec7b45100067b151b76061eb737fa70b3fb47d5 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Sat, 22 Aug 2026 12:45:52 +0900 Subject: Build only for mips64 --- configure.ac | 2 +- scripts/test | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/configure.ac b/configure.ac index 7c6ac98..12703dd 100644 --- a/configure.ac +++ b/configure.ac @@ -95,7 +95,7 @@ AS_CASE([$host_cpu], [*amd64*], [host_cpu=x86_64 HOSTARCH=intel], [i?86], [host_cpu=i386 HOSTARCH=intel enable_asm=no], [mips64*], [host_cpu=mips64 enable_asm=${enable_asm-no}], - [mips*], [host_cpu=mips enable_asm=${enable_asm-no}], + [mips*], [host_cpu=mips enable_asm=no], [powerpc*], [host_cpu=powerpc], [ppc64*], [host_cpu=powerpc64], [x86_64], [HOSTARCH=intel] diff --git a/scripts/test b/scripts/test index 7d82a09..6d573e3 100755 --- a/scripts/test +++ b/scripts/test @@ -172,17 +172,17 @@ elif [ "$ARCH" = "riscv64" ]; then file apps/openssl/openssl elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then - # MIPS assembly is disabled by default, so enable it for CI coverage. if [ "$ARCH" = "mips32" ]; then sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ setup_cross_compiler mips-linux-gnu - ./configure --host=mips-linux-gnu --enable-asm + ./configure --host=mips-linux-gnu LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check else sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64 setup_cross_compiler mips64el-linux-gnuabi64 + # MIPS assembly is disabled by default, so enable it for CI coverage. ./configure --host=mips64el-linux-gnuabi64 --enable-asm LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check fi -- cgit v1.2.3-55-g6feb