aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-08-22 12:45:52 +0900
committerKenjiro Nakayama <nakayamakenjiro@gmail.com>2026-08-22 12:45:52 +0900
commit6ec7b45100067b151b76061eb737fa70b3fb47d5 (patch)
treec78146aa43b74809293f885965c5e6d7990785db /scripts
parentc857e54a5562fd6f8804f70ed4ff530b77743265 (diff)
downloadportable-6ec7b45100067b151b76061eb737fa70b3fb47d5.tar.gz
portable-6ec7b45100067b151b76061eb737fa70b3fb47d5.tar.bz2
portable-6ec7b45100067b151b76061eb737fa70b3fb47d5.zip
Build only for mips64
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test4
1 files changed, 2 insertions, 2 deletions
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
172 file apps/openssl/openssl 172 file apps/openssl/openssl
173 173
174elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then 174elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then
175 # MIPS assembly is disabled by default, so enable it for CI coverage.
176 if [ "$ARCH" = "mips32" ]; then 175 if [ "$ARCH" = "mips32" ]; then
177 sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ 176 sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/
178 setup_cross_compiler mips-linux-gnu 177 setup_cross_compiler mips-linux-gnu
179 178
180 ./configure --host=mips-linux-gnu --enable-asm 179 ./configure --host=mips-linux-gnu
181 LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check 180 LD_LIBRARY_PATH=/usr/mips-linux-gnu/lib make -j 4 check
182 else 181 else
183 sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64 182 sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64
184 setup_cross_compiler mips64el-linux-gnuabi64 183 setup_cross_compiler mips64el-linux-gnuabi64
185 184
185 # MIPS assembly is disabled by default, so enable it for CI coverage.
186 ./configure --host=mips64el-linux-gnuabi64 --enable-asm 186 ./configure --host=mips64el-linux-gnuabi64 --enable-asm
187 LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check 187 LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check
188 fi 188 fi