diff options
author | Frank Barchard <fbarchard@chromium.org> | 2018-04-03 10:33:59 -0700 |
---|---|---|
committer | Frank Barchard <fbarchard@chromium.org> | 2018-04-03 18:45:14 +0000 |
commit | a9626b9daf62a9b260737e9c2de821ad087b19a1 (patch) | |
tree | 7e1fd24e052eedc953b0d16748b977bfe6ac5101 /docs/getting_started.md | |
parent | a694e339d122744549a9b76b9ee14b0ad296ff27 (diff) | |
download | libyuv-a9626b9daf62a9b260737e9c2de821ad087b19a1.tar.gz |
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>
Diffstat (limited to 'docs/getting_started.md')
-rw-r--r-- | docs/getting_started.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/getting_started.md b/docs/getting_started.md index 2b986ab1..f547c419 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -98,8 +98,8 @@ arm64 ios simulator - gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false target_cpu=\"x86\"" - gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false target_cpu=\"x86\"" + gn gen out/Release "--args=is_debug=false target_os=\"ios\" ios_enable_code_signing=false use_xcode_clang=true target_cpu=\"x86\"" + gn gen out/Debug "--args=is_debug=true target_os=\"ios\" ios_enable_code_signing=false use_xcode_clang=true target_cpu=\"x86\"" ninja -v -C out/Debug libyuv_unittest ninja -v -C out/Release libyuv_unittest |