Skip to content

Commit

Permalink
Remove kludge for RHEL 8.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
toregge committed Sep 18, 2022
1 parent eb3aa72 commit d56db9d
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 d56db9d

Please sign in to comment.