Skip to content

Commit b1b2325

Browse files
committed
Fix cmake scripts.
1 parent 6fd85dc commit b1b2325

File tree

5 files changed

+34
-27
lines changed

5 files changed

+34
-27
lines changed

components/core/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -402,12 +402,6 @@ set(SOURCE_FILES_clp_s_unitTest
402402
src/clp_s/SchemaWriter.hpp
403403
src/clp_s/search/AddTimestampConditions.cpp
404404
src/clp_s/search/AddTimestampConditions.hpp
405-
src/clp_s/search/clp_search/EncodedVariableInterpreter.cpp
406-
src/clp_s/search/clp_search/EncodedVariableInterpreter.hpp
407-
src/clp_s/search/clp_search/Grep.cpp
408-
src/clp_s/search/clp_search/Grep.hpp
409-
src/clp_s/search/clp_search/Query.cpp
410-
src/clp_s/search/clp_search/Query.hpp
411405
src/clp_s/search/EvaluateRangeIndexFilters.cpp
412406
src/clp_s/search/EvaluateRangeIndexFilters.hpp
413407
src/clp_s/search/EvaluateTimestampIndex.cpp
@@ -429,10 +423,6 @@ set(SOURCE_FILES_clp_s_unitTest
429423
src/clp_s/TimestampEntry.hpp
430424
src/clp_s/Utils.cpp
431425
src/clp_s/Utils.hpp
432-
src/clp_s/VariableDecoder.cpp
433-
src/clp_s/VariableDecoder.hpp
434-
src/clp_s/VariableEncoder.cpp
435-
src/clp_s/VariableEncoder.hpp
436426
src/clp_s/ZstdCompressor.cpp
437427
src/clp_s/ZstdCompressor.hpp
438428
src/clp_s/ZstdDecompressor.cpp

components/core/cmake/Options/options.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ endfunction()
312312
function(set_clp_s_search_dependencies)
313313
set_clp_need_flags(
314314
CLP_NEED_ABSL
315+
CLP_NEED_LOG_SURGEON
315316
CLP_NEED_SIMDJSON
316317
CLP_NEED_SPDLOG
317318
)

components/core/src/clp_s/CMakeLists.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ set(
6868
../clp/ir/parsing.cpp
6969
../clp/ir/parsing.hpp
7070
../clp/ir/parsing.inc
71-
../clp/ir/LogSurgeonReader.cpp
72-
../clp/ir/LogSurgeonReader.hpp
71+
../clp/LogSurgeonReader.cpp
72+
../clp/LogSurgeonReader.hpp
7373
../clp/NetworkReader.cpp
7474
../clp/NetworkReader.hpp
7575
../clp/networking/socket_utils.cpp
@@ -92,8 +92,8 @@ set(
9292
../clp/StringReader.hpp
9393
../clp/Thread.cpp
9494
../clp/Thread.hpp
95-
../clp/TraceableException.hpp
9695
../clp/time_types.hpp
96+
../clp/TraceableException.hpp
9797
../clp/type_utils.hpp
9898
../clp/utf8_utils.cpp
9999
../clp/utf8_utils.hpp
@@ -245,8 +245,6 @@ set(
245245
TraceableException.hpp
246246
Utils.cpp
247247
Utils.hpp
248-
VariableEncoder.cpp
249-
VariableEncoder.hpp
250248
)
251249

252250
if(CLP_BUILD_CLP_S_ARCHIVEWRITER)
@@ -308,8 +306,6 @@ set(
308306
TraceableException.hpp
309307
Utils.cpp
310308
Utils.hpp
311-
VariableDecoder.cpp
312-
VariableDecoder.hpp
313309
)
314310

315311
if(CLP_BUILD_CLP_S_ARCHIVEREADER)

components/core/src/clp_s/indexer/CMakeLists.txt

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,36 @@ set(
1313
../../clp/CurlStringList.hpp
1414
../../clp/database_utils.cpp
1515
../../clp/database_utils.hpp
16+
../../clp/Defs.h
17+
../../clp/EncodedVariableInterpreter.cpp
18+
../../clp/EncodedVariableInterpreter.hpp
19+
../../clp/ErrorCode.hpp
20+
../../clp/ffi/encoding_methods.cpp
21+
../../clp/ffi/encoding_methods.hpp
22+
../../clp/ffi/encoding_methods.inc
23+
../../clp/ffi/ir_stream/byteswap.hpp
24+
../../clp/ffi/ir_stream/decoding_methods.cpp
25+
../../clp/ffi/ir_stream/decoding_methods.hpp
26+
../../clp/ffi/ir_stream/decoding_methods.inc
27+
../../clp/ffi/ir_stream/protocol_constants.hpp
28+
../../clp/ffi/ir_stream/utils.cpp
29+
../../clp/ffi/ir_stream/utils.hpp
30+
../../clp/ffi/SchemaTree.cpp
31+
../../clp/ffi/SchemaTree.hpp
1632
../../clp/FileReader.cpp
1733
../../clp/FileReader.hpp
1834
../../clp/GlobalMetadataDBConfig.cpp
1935
../../clp/GlobalMetadataDBConfig.hpp
2036
../../clp/hash_utils.cpp
2137
../../clp/hash_utils.hpp
38+
../../clp/ir/LogEvent.hpp
39+
../../clp/ir/types.hpp
40+
../../clp/ir/constants.hpp
41+
../../clp/ir/EncodedTextAst.cpp
42+
../../clp/ir/EncodedTextAst.hpp
43+
../../clp/ir/parsing.cpp
44+
../../clp/ir/parsing.hpp
45+
../../clp/ir/parsing.inc
2246
../../clp/MySQLDB.cpp
2347
../../clp/MySQLDB.hpp
2448
../../clp/MySQLParamBindings.cpp
@@ -27,10 +51,15 @@ set(
2751
../../clp/MySQLPreparedStatement.hpp
2852
../../clp/NetworkReader.cpp
2953
../../clp/NetworkReader.hpp
54+
../../clp/Query.cpp
55+
../../clp/Query.hpp
3056
../../clp/ReaderInterface.cpp
3157
../../clp/ReaderInterface.hpp
3258
../../clp/Thread.cpp
3359
../../clp/Thread.hpp
60+
../../clp/time_types.hpp
61+
../../clp/TraceableException.hpp
62+
../../clp/type_utils.hpp
3463
../archive_constants.hpp
3564
../ArchiveReader.cpp
3665
../ArchiveReader.hpp
@@ -65,8 +94,6 @@ set(
6594
../TimestampPattern.hpp
6695
../Utils.cpp
6796
../Utils.hpp
68-
../VariableDecoder.cpp
69-
../VariableDecoder.hpp
7097
../ZstdCompressor.cpp
7198
../ZstdCompressor.hpp
7299
../ZstdDecompressor.cpp

components/core/src/clp_s/search/CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,8 @@ set(
99
../DictionaryEntry.hpp
1010
../DictionaryWriter.cpp
1111
../DictionaryWriter.hpp
12-
../VariableEncoder.cpp
13-
../VariableEncoder.hpp
1412
AddTimestampConditions.cpp
1513
AddTimestampConditions.hpp
16-
clp_search/EncodedVariableInterpreter.cpp
17-
clp_search/EncodedVariableInterpreter.hpp
18-
clp_search/Grep.cpp
19-
clp_search/Grep.hpp
20-
clp_search/Query.cpp
21-
clp_search/Query.hpp
2214
EvaluateRangeIndexFilters.cpp
2315
EvaluateRangeIndexFilters.hpp
2416
EvaluateTimestampIndex.cpp
@@ -48,6 +40,7 @@ if(CLP_BUILD_CLP_S_SEARCH)
4840
absl::flat_hash_map
4941
clp_s::archive_reader
5042
clp_s::search::ast
43+
log_surgeon::log_surgeon
5144
simdjson::simdjson
5245
PRIVATE
5346
clp::string_utils

0 commit comments

Comments
 (0)