libdeflate/tools/mips_test.sh
Eric Biggers f2c3a5b4e9 Various reorganization and cleanups
* Bring in common headers and program code from xpack project
* Move program code to programs/
* Move library code to lib/
* GNU89 and MSVC2010 compatibility
* Other changes
2016-05-21 15:38:15 -05:00

13 lines
283 B
Bash
Executable File

#!/bin/sh
set -e
TOOLCHAIN_DIR=$HOME/src/ddwrt-toolchains/toolchain-mips_34kc_gcc-5.1.0_musl-1.1.9
make -j benchmark \
CC="$TOOLCHAIN_DIR/bin/mips-openwrt-linux-musl-gcc" \
CFLAGS="-DNEED_PRINTF"
scp benchmark $HOME/data/test root@dd-wrt:
ssh root@dd-wrt ./benchmark "$@" test