The default for the neon build option is 'no', which disabled NEON code for 32-bit ARM but enabled it for ARM64. Now that 'no' can disable NEON code for ARM64, the default should be 'auto' which would enable it where possible. Handle the 'auto' value, and set it as the default. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
10 lines
429 B
Meson
10 lines
429 B
Meson
option('gnustl', type: 'feature',
|
|
value: 'auto',
|
|
description: 'Use gnustl for a c++ library implementation (only used on Android)')
|
|
option('neon', type: 'combo',
|
|
choices: ['auto', 'yes', 'runtime', 'no'],
|
|
description: 'Enable NEON optimisations')
|
|
option('inline-sse', type: 'boolean',
|
|
value: true,
|
|
description: 'Enable inline SSE/SSE2 optimisations (i.e. assume CPU supports SSE/SSE2)')
|