]> granicus.if.org Git - libvpx/commitdiff
Use cmake instead of configure
authorYi Luo <luoyi@google.com>
Wed, 10 Jan 2018 20:28:30 +0000 (12:28 -0800)
committerYi Luo <luoyi@google.com>
Wed, 10 Jan 2018 20:28:30 +0000 (12:28 -0800)
Change-Id: I07267eb6a7ac9b96325433a7d3ff6b1d68365df3

scripts/BasketballDrill_480p.sh
scripts/aom_nightly_config.sh
scripts/aomenc_nightly_speed.sh

index 13fae95330c0373a800b7b276afb279855c28394..3c9d594a5b05e56d56631fe25ead8bf99ce5ab99 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 video=~/Dev/samples/videos/midres/BasketballDrill_832x480_50.y4m
-frames=2
+frames=60
 bitrate=800
 fps="50/1"
 wide=
index 6f063535450a9927e0b43d0721da76e96f2b5b67..29056f5a4d4aa28663b6d077cd223b0cb8b2d1f8 100755 (executable)
@@ -1,23 +1,13 @@
 #!/bin/sh
 #set -x
 
-platform=x86_64-linux-gcc
-codec=--enable-av1
 libsrc=aom
 test_dir=~/Dev/nightly
-script_dir=~/Dev/sandbox/libvpx/scripts
-tool=
 
-common="--disable-unit-tests --disable-docs"
-debug=
+echo "cmake ../$libsrc -DCONFIG_UNIT_TESTS=0 -DENABLE_DOCS=0"
 
-#. $script_dir/disabled_list.sh
-disabled=
-
-echo ../$libsrc/configure $common $debug $disabled $tool
-
-../$libsrc/configure $common $debug $disabled $tool > /dev/null
+cmake ../$libsrc -DCONFIG_UNIT_TESTS=0 -DENABLE_DOCS=0 > /dev/null 2>&1
 if [ $? -ne 0 ]; then
-  echo "Error: configure fails!" > $test_dir/aom_error_config.txt
+  echo "Error: cmake configure fails!" > $test_dir/aom_error_config.txt
   exit 1
 fi
index 63496b765665129135ee8912361d71b718c991a8..bb54dffd7fb98b6ecef540e890898d225270065a 100755 (executable)
@@ -44,7 +44,7 @@ $script_path/aom_nightly_speed.sh $av1_code $pdfps $petime $speed $html_log_file
 users=luoyi
 host_name=`hostname`
 sender=luoyi
-#cc_list="--cc=yunqingwang,vpx-eng"
+cc_list="--cc=yunqingwang,vpx-eng"
 
 $script_path/gen_html_footer.sh >> $log_path/$html_log_file