Browse Source

BLD: Rework ctest build slightly

pull/4832/head
Rohit Goswami Mateusz Sokół 1 year ago
parent
commit
5a4557ce1e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      ctest/meson.build

+ 3
- 2
ctest/meson.build View File

@@ -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@']


Loading…
Cancel
Save