<commit_before># LIBRAPTORQ_FOUND - libRaptorQ was found
# LIBRAPTORQ_INCLUDE_DIRS - the libRaptorQ include directory
# LIBRAPTORQ_LIBRARIES - the libRaptorQ libraries
set(prj libraptorq)
# this file (-config) installed to share/cmake
get_filename_component(XP_ROOTDIR ${CMAKE_CURRENT_LIST_DIR}/../.. ABSOLUTE)
get_filename_component(XP_ROOTDIR ${XP_ROOTDIR} ABSOLUTE) # remove relative parts
# targets file (-targets) installed to lib/cmake
include(${XP_ROOTDIR}/lib/cmake/${prj}-targets.cmake)
string(TOUPPER ${prj} PRJ)
unset(${PRJ}_INCLUDE_DIRS CACHE)
find_path(${PRJ}_INCLUDE_DIRS RaptorQ/RaptorQ.hpp PATHS ${XP_ROOTDIR}/include NO_DEFAULT_PATH)
set(${PRJ}_LIBRARIES RaptorQ_static)
set(reqVars ${PRJ}_INCLUDE_DIRS ${PRJ}_LIBRARIES)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(${prj} REQUIRED_VARS ${reqVars})
mark_as_advanced(${reqVars})<commit_msg>add eigen include directory for libRaptorQ<commit_after># LIBRAPTORQ_FOUND - libRaptorQ was found
# LIBRAPTORQ_INCLUDE_DIRS - the libRaptorQ include directory
# LIBRAPTORQ_LIBRARIES - the libRaptorQ libraries
set(prj libraptorq)
# this file (-config) installed to share/cmake
get_filename_component(XP_ROOTDIR ${CMAKE_CURRENT_LIST_DIR}/../.. ABSOLUTE)
get_filename_component(XP_ROOTDIR ${XP_ROOTDIR} ABSOLUTE) # remove relative parts
# targets file (-targets) installed to lib/cmake
include(${XP_ROOTDIR}/lib/cmake/${prj}-targets.cmake)
string(TOUPPER ${prj} PRJ)
unset(${PRJ}_INCLUDE_DIRS CACHE)
find_path(${PRJ}_INCLUDE_DIRS RaptorQ/RaptorQ.hpp PATHS ${XP_ROOTDIR}/include NO_DEFAULT_PATH)
# needed for libRaptorQ (internally) to find eigen's includes
include_directories(SYSTEM ${XP_ROOTDIR}/include/eigen3)
set(${PRJ}_LIBRARIES RaptorQ_static)
set(reqVars ${PRJ}_INCLUDE_DIRS ${PRJ}_LIBRARIES)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(${prj} REQUIRED_VARS ${reqVars})
mark_as_advanced(${reqVars})
{'fraction_non_alphanumeric': 0.11012526096033402, 'fraction_numerical': 0.0005219206680584551, 'mean_word_length': 9.036649214659686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6260011', 'n_tokens_mistral': 759, 'n_tokens_neox': 704, 'n_words': 130}