Add configure scripts

Change-Id: If732b427e04e32f873d547606c0bcdd39ae2f1f3
This commit is contained in:
Yi Luo
2017-02-22 10:22:37 -08:00
parent 5057c281fd
commit 29812d1460
2 changed files with 34 additions and 0 deletions

17
scripts/runconfig.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
platform=x86_64-linux-gcc
codec=--enable-av1
libsrc=aom
#bitdepth=--enable-aom-highbitdepth
bitdepth=
if [ "$#" -eq 1 ]; then
tool=$1
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool --disable-daala-ec --disable-unit-tests > /dev/null
else
tool_1=$1
tool_2=$2
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool_1 --enable-$tool_2 --disable-daala-ec --disable-unit-tests > /dev/null
fi

17
scripts/runconfig_hbd.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/sh
platform=x86_64-linux-gcc
codec=--enable-av1
libsrc=aom
bitdepth=--enable-aom-highbitdepth
#bitdepth=
if [ "$#" -eq 1 ]; then
tool=$1
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool --disable-unit-tests --disable-daala-ec > /dev/null
else
tool_1=$1
tool_2=$2
../$libsrc/configure --target=$platform $codec $bitdepth --enable-experimental --enable-$tool_1 --enable-$tool_2 --disable-unit-tests --disable-daala-ec > /dev/null
fi