Frank Barchard a9626b9daf Disable AVX512 for iOS simulator xcode 9 builds.
iOS simulator has the option to build with xcode instead of clang.
GN use_xcode_clang=true enables the xcode build.
As of version Xcode 9.2, the clang version used does not support
AVX512.  The version reported is version 9, but for normal clang,
version 7 is sufficient to AVX512.
When a version of XCode does support AVX512, the version check can
be updated to allow AVX512 for newer versions of XCode.
with XCode 9.2 the following macro is set.
__APPLE_CC__ 6000

Bug: libyuv:789
Test: gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false target_cpu=\"x86\" use_xcode_clang=true"
Change-Id: I5a9a0b4a2760c7d09a4bcb464b3668979113b07e
Reviewed-on: https://chromium-review.googlesource.com/991595
Reviewed-by: richard winterton <rrwinterton@gmail.com>
2018-04-03 18:45:14 +00:00
..
deprecated_builds.md [ndk] Add android ndk deps in libyuv DEPS 2018-01-10 19:25:11 +00:00
environment_variables.md Remove Mips DSPR2 code 2017-12-14 18:22:16 +00:00
filtering.md Add all wiki pages as MarkDown documents + README.md 2016-02-17 07:50:19 +01:00
formats.md 10 bit YUV to 10 bit BGR 2018-02-15 22:44:36 +00:00
getting_started.md Disable AVX512 for iOS simulator xcode 9 builds. 2018-04-03 18:45:14 +00:00
rotation.md Add all wiki pages as MarkDown documents + README.md 2016-02-17 07:50:19 +01:00