diff options
author | Henrik Gramner <gramner@twoorioles.com> | 2021-10-05 00:21:23 +0300 |
---|---|---|
committer | Henrik Gramner <gramner@twoorioles.com> | 2021-10-18 17:49:05 +0300 |
commit | 75318ec7ca22c264e6dcf477bb2a5b3594009300 (patch) | |
tree | 03099f431f21747c699a0e6642dcc436402a441d /meson.build | |
parent | 9b5149010527eb733b2dcfb568f80632b44cd287 (diff) |
x86: Remove the option to disable AVX-512
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meson.build b/meson.build index 1a7c409..0ab14d8 100644 --- a/meson.build +++ b/meson.build @@ -410,14 +410,9 @@ if is_asm_enabled and host_machine.cpu_family().startswith('x86') out = nasm_r.stdout().strip().split() if out[1].to_lower() == 'version' - if out[2].version_compare('<2.13.02') - error('nasm 2.13.02 or later is required, found nasm @0@'.format(out[2])) - elif out[2].version_compare('<2.14') and get_option('enable_avx512') - error('nasm 2.14 or later is required for AVX-512 asm.\n' + - 'AVX-512 asm can be disabled with \'-Denable_avx512=false\'') + if out[2].version_compare('<2.14') + error('nasm 2.14 or later is required, found nasm @0@'.format(out[2])) endif - cdata.set10('HAVE_AVX512ICL', get_option('enable_avx512')) - cdata_asm.set10('HAVE_AVX512ICL', get_option('enable_avx512')) else error('unexpected nasm version string: @0@'.format(nasm_r.stdout())) endif |