mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-12 05:48:25 -04:00
Add MIPS test script
This commit is contained in:
parent
d747d2a0c3
commit
de7c13c659
13
tools/mips_test.sh
Executable file
13
tools/mips_test.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
TOOLCHAIN_DIR=$HOME/src/ddwrt-toolchains/toolchain-mips_34kc_gcc-5.1.0_musl-1.1.9
|
||||||
|
|
||||||
|
make clean
|
||||||
|
make -j4 BUILD_SHARED_LIBRARY=no BUILD_BENCHMARK_PROGRAM=yes \
|
||||||
|
CC="$TOOLCHAIN_DIR/bin/mips-openwrt-linux-musl-gcc" \
|
||||||
|
CFLAGS="-DNEED_PRINTF"
|
||||||
|
|
||||||
|
scp benchmark root@dd-wrt:
|
||||||
|
ssh root@dd-wrt ./benchmark a "$@"
|
Loading…
x
Reference in New Issue
Block a user