diff options
author | Janne Grunau <janne-vlc@jannau.net> | 2018-09-29 14:57:29 +0300 |
---|---|---|
committer | Henrik Gramner <gramner@twoorioles.com> | 2018-09-29 18:22:24 +0300 |
commit | 35e777f3780327ea055339408bf7f9c1313254ce (patch) | |
tree | 1a2deaf17576a2d8be070e721e62b8358f0173eb /tests/meson.build | |
parent | e72c2e45748a9f80223d57333772419f00fc4e7e (diff) |
build: add support for arm/aarch64 asm and integrate checkasm
Diffstat (limited to 'tests/meson.build')
-rw-r--r-- | tests/meson.build | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build index 05f977b..2759367 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -49,7 +49,14 @@ if is_asm_enabled checkasm_bitdepth_objs += checkasm_bitdepth_lib.extract_all_objects() endforeach - checkasm_nasm_objs = nasm_gen.process(files('checkasm/x86/checkasm.asm')) + checkasm_nasm_objs = [] + if host_machine.cpu_family() == 'aarch64' + checkasm_sources += files('checkasm/arm/checkasm_64.S') + elif host_machine.cpu_family().startswith('arm') + checkasm_sources += files('checkasm/arm/checkasm_32.S') + elif host_machine.cpu_family().startswith('x86') + checkasm_nasm_objs = nasm_gen.process(files('checkasm/x86/checkasm.asm')) + endif checkasm = executable('checkasm', checkasm_sources, checkasm_nasm_objs, objects: [checkasm_bitdepth_objs], |