Update googletest to 1.18.0 and SIMDe to 0.8.2.

Googletest 1.18 asks for CMake 3.13 or newer, so configuring the tests no longer warns that CMake compatibility below 3.10 is deprecated.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Ryan Henry 2026-09-24 14:30:19 -06:00
parent e4e666f459
commit 3f10e05176
912 changed files with 224964 additions and 11502 deletions

View file

@ -1,6 +1,11 @@
simde_test_arm_neon_sources = []
# Disable the Intel FPU with 80-bit precision.
disable_fpu_flags = []
if (host_machine.cpu() == 'prescott') or (host_machine.cpu().endswith('86') and host_machine.cpu().startswith('i'))
disable_fpu_flags += '-ffloat-store'
endif
foreach name : simde_neon_families
if (name != 'ld3') and (name != 'ld4') and (name != 'st1')
if (name != 'ld3') and (name != 'ld4') and (name != 'st1') and (name != 'ld1')
foreach lang : ['c', 'cpp']
source_file = name + '.c'
if lang == 'cpp'
@ -15,8 +20,8 @@ foreach name : simde_neon_families
endif
x = executable(name + '-' + emul + '-' + lang, source_file,
c_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags,
cpp_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags,
c_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags + disable_fpu_flags,
cpp_args: simde_c_args + simde_c_defs + simde_native_c_flags + extra_flags + disable_fpu_flags,
include_directories: simde_include_dir,
dependencies: simde_deps)