diff options
| author | Theo Buehler <tb@openbsd.org> | 2026-08-14 06:30:46 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2026-08-14 06:30:46 +0200 |
| commit | efe89d62d32e71a720dfd7ebae57d5cd2f204bf2 (patch) | |
| tree | bf9cfab1f6e7d52495d71ac80599b16b5cd09e40 /scripts/test | |
| parent | 239c0012901752dc3abbd7f78d0ece3d731cc19c (diff) | |
| parent | 9d9f450f475fa1fa0bf5efcddeccb24b2b68e929 (diff) | |
| download | portable-efe89d62d32e71a720dfd7ebae57d5cd2f204bf2.tar.gz portable-efe89d62d32e71a720dfd7ebae57d5cd2f204bf2.tar.bz2 portable-efe89d62d32e71a720dfd7ebae57d5cd2f204bf2.zip | |
Land #1362 - enable RISC-V BN asm
Diffstat (limited to 'scripts/test')
| -rwxr-xr-x | scripts/test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/test b/scripts/test index 0e84b22..7e64bf1 100755 --- a/scripts/test +++ b/scripts/test | |||
| @@ -161,6 +161,15 @@ elif [ "$ARCH" = "loong64" ]; then | |||
| 161 | 161 | ||
| 162 | file apps/openssl/openssl | 162 | file apps/openssl/openssl |
| 163 | 163 | ||
| 164 | elif [ "$ARCH" = "riscv64" ]; then | ||
| 165 | sudo ln -sf /usr/riscv64-linux-gnu/lib/ld-linux-riscv64-lp64d.so.1 /lib/ | ||
| 166 | setup_cross_compiler riscv64-linux-gnu | ||
| 167 | |||
| 168 | ./configure --host=riscv64-linux-gnu | ||
| 169 | LD_LIBRARY_PATH=/usr/riscv64-linux-gnu/lib make -j 4 check | ||
| 170 | |||
| 171 | file apps/openssl/openssl | ||
| 172 | |||
| 164 | elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then | 173 | elif [ "$ARCH" = "mips32" ] || [ "$ARCH" = "mips64" ]; then |
| 165 | if [ "$ARCH" = "mips32" ]; then | 174 | if [ "$ARCH" = "mips32" ]; then |
| 166 | sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ | 175 | sudo ln -sf /usr/mips-linux-gnu/lib/ld.so.1 /lib/ |
