update CMake and Google3 builds for AVX/AVX2
authormtklein <mtklein@chromium.org>
Thu, 17 Dec 2015 18:18:04 +0000 (10:18 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 17 Dec 2015 18:18:04 +0000 (10:18 -0800)
commitf6d8d28883755d4ded224207b634a08367ee006f
tree7be70a8655047653bf631f94e67903f9bf367bba
parent62a627be6a7e3fdb4fe1c67de0c371a276c761f6
update CMake and Google3 builds for AVX/AVX2

The _avx.cpp code was working in a degraded (SSE2/SSSE3) mode silently.
This CL will make the _avx.cpp code start using AVX.

There is currently no _avx2.cpp code, but I'm writing some now,
and this change will make it work properly from the start.

Chrome and Android builds should already be okay.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1535443003
CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot

Review URL: https://codereview.chromium.org/1535443003
BUILD.public
cmake/CMakeLists.txt