summaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
blob: 25e9a469f93bf38a34a587dbc2f6666e1293f4bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_library(searchcore_pcommon STATIC
    SOURCES
    alloc_config.cpp
    alloc_strategy.cpp
    attribute_updater.cpp
    attributefieldvaluenode.cpp
    cachedselect.cpp
    commit_time_tracker.cpp
    dbdocumentid.cpp
    doctypename.cpp
    document_type_inspector.cpp
    eventlogger.cpp
    feeddebugger.cpp
    feedtoken.cpp
    hw_info_sampler.cpp
    indexschema_inspector.cpp
    ipendinglidtracker.cpp
    operation_rate_tracker.cpp
    pendinglidtracker.cpp
    replay_feed_token_factory.cpp
    replay_feedtoken_state.cpp
    select_utils.cpp
    selectcontext.cpp
    selectpruner.cpp
    state_reporter_utils.cpp
    statusreport.cpp
    scheduledexecutor.cpp
    DEPENDS
    searchcore_proton_metrics
    searchcore_fconfig
    EXTERNAL_DEPENDS
    ${VESPA_STDCXX_FS_LIB}
)

if(VESPA_OS_DISTRO_COMBINED STREQUAL "rhel 8.2" OR VESPA_OS_DISTRO_COMBINED STREQUAL "centos 8")
  set_source_files_properties(hw_info_sampler.cpp PROPERTIES COMPILE_FLAGS -DRHEL_8_2_KLUDGE)
endif()