]> git.sesse.net Git - plocate/commitdiff
Unbreak the benchmark program.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 31 Jul 2021 13:37:54 +0000 (15:37 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Mon, 23 Aug 2021 08:11:20 +0000 (10:11 +0200)
bench.cpp
meson.build

index 7bc49cdb8638ff5aaa2f3efef6ee3148f13250bc..22028e6606ceef9522026f750d312aafc2f29e09 100644 (file)
--- a/bench.cpp
+++ b/bench.cpp
@@ -8,6 +8,7 @@
 #define dprintf(...)
 //#define dprintf(...) fprintf(stderr, __VA_ARGS__);
 
+#include "complete_pread.h"
 #include "db.h"
 #include "io_uring_engine.h"
 #include "turbopfor-encode.h"
index dc14eb1fa052bdb218c6c3262ebc8af81f0da0b0..095392172d0810787baae0f8b515ed85e4bddc38 100644 (file)
@@ -98,7 +98,7 @@ if run_command('[', '-r', pfordir + '/libic.a', ']').returncode() == 0
        turbopfordep = declare_dependency(
                include_directories: include_directories('TurboPFor-Integer-Compression'),
                dependencies: meson.get_compiler('cpp').find_library('ic', dirs: pfordir))
-       executable('bench', ['bench.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp'],
+       executable('bench', ['bench.cpp', 'io_uring_engine.cpp', 'turbopfor.cpp', 'complete_pread.cpp'],
                dependencies: [uringdep, turbopfordep],
                build_by_default: false,
                install: false)