diff options
| author | Douglas B. Rumbaugh <dbr4@psu.edu> | 2024-03-25 12:54:17 -0400 |
|---|---|---|
| committer | Douglas B. Rumbaugh <dbr4@psu.edu> | 2024-03-25 12:54:17 -0400 |
| commit | b1b5ab106122e6917f6b34452be95e617506f05d (patch) | |
| tree | 1fea7e8b097077204b9cff12a4acbf66e857ed3b /benchmarks/include/benchmark_types.h | |
| parent | fb4312a883dd0e382ecbcfe1119479e6f44d32a6 (diff) | |
| download | dynamic-extension-b1b5ab106122e6917f6b34452be95e617506f05d.tar.gz | |
Updates for build on OpenBSD
Necessary updates to get the codebase building under OpenBSD 7.5 with
clang. This is a minimal set of changes to get building to work, which
includes disabling several things that aren't directly compatable. More
work will be necessary to get full functionality. In particular, Triespline,
PGM, and the reference M-tree do not currently build on OpenBSD with clang
due to GNU dependencies or other gcc specific features.
Diffstat (limited to 'benchmarks/include/benchmark_types.h')
| -rw-r--r-- | benchmarks/include/benchmark_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/include/benchmark_types.h b/benchmarks/include/benchmark_types.h index 85e9565..fcdeac6 100644 --- a/benchmarks/include/benchmark_types.h +++ b/benchmarks/include/benchmark_types.h @@ -2,7 +2,6 @@ #include <cstdlib> #include "psu-ds/BTree.h" -#include "mtree.h" #include "framework/interface/Record.h" /* TLX BTree definitions*/ @@ -46,5 +45,8 @@ struct euclidean_distance { } }; +#ifdef _GNU_SOURCE +#include "mtree.h" typedef mt::mtree<Word2VecRec, euclidean_distance> MTree; +#endif |