From 5a4557ce1e68c0b08f2b36e0cedc513d73095193 Mon Sep 17 00:00:00 2001 From: Rohit Goswami Date: Mon, 29 Jul 2024 02:16:10 +0000 Subject: [PATCH] BLD: Rework ctest build slightly --- ctest/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ctest/meson.build b/ctest/meson.build index 65139d957..32fcc4e1d 100644 --- a/ctest/meson.build +++ b/ctest/meson.build @@ -34,6 +34,7 @@ _test_input_array = { } _test_runner = executable('test_runner', sources: ['test_runner.c'], install: false) +ctest_inc = _inc + [include_directories('.')] foreach lvl : ['l1', 'l2', 'l3', 'l3_3m'] details = _test_input_array[lvl] @@ -51,8 +52,8 @@ foreach lvl : ['l1', 'l2', 'l3', 'l3_3m'] sources: mapped_sources + [config_h], link_with: [_openblas], dependencies: [dependency('threads')], - include_directories: include_directories('..'), - c_args: ['-I..', '-I.', '-DADD_', '-DCBLAS'], + include_directories: ctest_inc, + c_args: ['-DADD_', '-DCBLAS'], ) _args = [f'./@op_name@']