]> granicus.if.org Git - libvpx/commitdiff
Cherry pick 661802 to fix 64bit arm build
authorJohann <johannkoenig@google.com>
Mon, 1 Dec 2014 19:06:49 +0000 (11:06 -0800)
committerJohann <johannkoenig@google.com>
Thu, 12 Nov 2015 22:51:53 +0000 (14:51 -0800)
Remove default cortex-a8 tuning.

Probably not even the dominant platform the library is being built for.
Add --cpu= option description to help. The option already exists.

Don't allow passing just --cpu as a no-op.

BUG=826

Change-Id: Iaa3f4f693ec78b18927b159b480daafeba0549c0

build/make/configure.sh
configure

index 56e9f4406e813468646a404d4fed870d6b86b83f..3fc6f0226df7c9800b314b0ecb02455ac5dfe33d 100644 (file)
@@ -511,9 +511,8 @@ process_common_cmdline() {
         ;;
         --force-target=*) toolchain="${toolchain:-${optval}}"; enable_feature force_toolchain
         ;;
-        --cpu)
-        ;;
-        --cpu=*) tune_cpu="$optval"
+        --cpu=*)
+        tune_cpu="$optval"
         ;;
         --extra-cflags=*)
         extra_cflags="${optval}"
index 6e3a2275b08b449e1ccda1573a77344b20df6625..e492c8c889efc060468a622b665cf1c4f7343a34 100755 (executable)
--- a/configure
+++ b/configure
@@ -26,6 +26,7 @@ Advanced options:
   ${toggle_unit_tests}            unit tests
   ${toggle_decode_perf_tests}     build decoder perf tests with unit tests
   ${toggle_encode_perf_tests}     build encoder perf tests with unit tests
+  --cpu=CPU                       tune for the specified CPU (ARM: cortex-a8, X86: sse3)
   --libc=PATH                     path to alternate libc
   --size-limit=WxH                max size to allow in the decoder
   --as={yasm|nasm|auto}           use specified assembler [auto, yasm preferred]