mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-04 10:16:44 -04:00

* 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
13 lines
283 B
Bash
Executable File
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
|