File: meson.build

package info (click to toggle)
knot-resolver 6.0.15-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,348 kB
  • sloc: javascript: 42,732; ansic: 39,900; python: 12,459; cpp: 2,121; sh: 1,933; xml: 193; makefile: 181
file content (24 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# bench
# SPDX-License-Identifier: GPL-3.0-or-later

bench_lru_src = files([
  'bench_lru.c',
])

cc = meson.get_compiler('c')
m_dep = cc.find_library('m', required : false)

bench_lru = executable(
  'bench_lru',
  bench_lru_src,
  dependencies: [
    contrib_dep,
    libkres_dep,
    m_dep,
  ],
)

run_target(
  'bench',
  command: '../scripts/meson/bench.sh',
)