Nice patches overall, I've got a few questions and suggestions though.
Your patches make the buildbot fail, which is probably not your fault but can you look into fixing the clock_gettime() symbol that can't be referenced? According to the Internet, clock_gettime() is defined in librt which is a dependency for some versions of glibc including apparently the one provided by the Travis CI build server. A FindRT.cmake module (used by bonefish CMakeLists.txt scripts) should fix it:
find_library(RT_LIBRARY NAMES rt)
# Handle the QUIETLY and REQUIRED arguments and set RT_FOUND to true
# if all listed variables are true.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(RT DEFAULT_MSG RT_LIBRARY)
if (RT_FOUND)
set(RT_LIBRARIES ${RT_LIBRARY})
else()
set(RT_LIBRARIES )
endif()
mark_as_advanced(RT_LIBRARIES)
It's sort of unfortunate that find_package(Boost) or find_package(Threads) apparently don't take care of this.
Nice patches overall, I've got a few questions and suggestions though.
Your patches make the buildbot fail, which is probably not your fault but can you look into fixing the
clock_gettime()
symbol that can't be referenced? According to the Internet,clock_gettime()
is defined in librt which is a dependency for some versions of glibc including apparently the one provided by the Travis CI build server. A FindRT.cmake module (used by bonefish CMakeLists.txt scripts) should fix it:It's sort of unfortunate that find_package(Boost) or find_package(Threads) apparently don't take care of this.