diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2015-11-17 00:11:53 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2015-12-09 00:07:52 +0000 |
commit | a48b8ecc9ceb203be588d4eefa8de19800b91fe3 (patch) | |
tree | 11527d19bb1f65483ef83df85a5b8756b192a16a /configure | |
parent | 8dc43adcbb95eb595d8da8e68c8d2a0dc027f1ad (diff) |
configure: don't test AVX512 if AVX2 wasn't found
Change-Id: I14839ba5678944c2864bffff14176f0e9236ad8c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4586,6 +4586,9 @@ if [ "${CFG_AVX2}" = "auto" ]; then fi # detect avx512 support +if [ "${CFG_AVX2}" = "no" ]; then + CFG_AVX512= +fi if [ "${CFG_AVX512}" = "auto" ]; then # First, test for AVX-512 Foundation if compileTest common/avx512 "avx512f" AVX512=F; then |