diff options
author | Brent Cook <busterb@gmail.com> | 2023-03-23 06:07:31 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2023-03-23 06:11:16 -0500 |
commit | 73d924f643be938205d434dc7ba7aa642150ba84 (patch) | |
tree | bd8a1b1d8bcbfa2819e5a25d8fb2bf9c5bf8a1b5 /scripts | |
parent | 59261d04c5618711d63d457863a83e55f770efc1 (diff) | |
download | portable-73d924f643be938205d434dc7ba7aa642150ba84.tar.gz portable-73d924f643be938205d434dc7ba7aa642150ba84.tar.bz2 portable-73d924f643be938205d434dc7ba7aa642150ba84.zip |
fix mips/mips64 builds
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/test b/scripts/test index 0eb2c06..3443702 100755 --- a/scripts/test +++ b/scripts/test | |||
@@ -89,6 +89,23 @@ elif [ "x$ARCH" = "xarm32" -o "x$ARCH" = "xarm64" ]; then | |||
89 | 89 | ||
90 | file apps/openssl/.libs/openssl | 90 | file apps/openssl/.libs/openssl |
91 | 91 | ||
92 | elif [ "x$ARCH" = "xmipsel" -o "x$ARCH" = "xmips64el" ]; then | ||
93 | sudo apt-get install -y qemu-user-static binfmt-support | ||
94 | |||
95 | if [ "x$ARCH" = "xmipsel" ]; then | ||
96 | sudo apt-get install -y g++-mips-linux-gnu | ||
97 | sudo ln -sf /usr/mipsel-linux-gnu/lib/ld.so.1 /lib/ | ||
98 | ./configure --host=mipsel-linux-gnu | ||
99 | LD_LIBRARY_PATH=/usr/mipsel-linux-gnu/lib make -j 4 check | ||
100 | else | ||
101 | sudo apt-get install -y g++-mips64el-linux-gnuabi64 | ||
102 | sudo ln -sf /usr/mips64el-linux-gnuabi64/lib64/ld.so.1 /lib64 | ||
103 | ./configure --host=mips64el-linux-gnuabi64 | ||
104 | LD_LIBRARY_PATH=/usr/mips64el-linux-gnuabi64/lib make -j 4 check | ||
105 | fi | ||
106 | |||
107 | file apps/openssl/.libs/openssl | ||
108 | |||
92 | elif [ "x$ARCH" = "xandroid" ]; then | 109 | elif [ "x$ARCH" = "xandroid" ]; then |
93 | export TC_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake | 110 | export TC_FILE=$ANDROID_NDK_HOME/build/cmake/android.toolchain.cmake |
94 | 111 | ||