Skip to content

Commit

Permalink
Merge pull request #24110 from vespa-engine/toregge/remove-kludge-for…
Browse files Browse the repository at this point in the history
…-rhel-8-2

Remove kludge for RHEL 8.2.
  • Loading branch information
baldersheim authored Sep 18, 2022
2 parents eaeb80a + d56db9d commit d2574e6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
4 changes: 0 additions & 4 deletions searchcore/src/vespa/searchcore/proton/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,3 @@ vespa_add_library(searchcore_pcommon STATIC
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()
13 changes: 0 additions & 13 deletions searchcore/src/vespa/searchcore/proton/common/hw_info_sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,3 @@ HwInfoSampler::sampleDiskWriteSpeed(const vespalib::string &path, const Config &
}

}

#ifdef RHEL_8_2_KLUDGE

// Kludge to avoid unresolved symbols with gcc-toolset-9 on RHEL 8.2
#include <codecvt>

namespace std {

template class codecvt_utf8<wchar_t>;

}

#endif

0 comments on commit d2574e6

Please sign in to comment.