<commit_before># - Find cppunit
# Find the native CPPUNIT includes and library
#
#  CPPUNIT_INCLUDE_DIR - where to find cppunit.h.
#  CPPUNIT_LIBRARIES   - List of libraries when using cppunit.
#  CPPUNIT_FOUND       - True if cppunit found.

# Already in cache, be silent
IF (CPPUNIT_INCLUDE_DIR)
    SET(CPPUNIT_FIND_QUIETLY TRUE)
ENDIF (CPPUNIT_INCLUDE_DIR)

FIND_PATH(CPPUNIT_INCLUDE_DIR TestSuite.h PATHS /usr/include/cppunit /usr/include/libcppunit )

SET(CPPUNIT_NAMES cppunit)
FOREACH( lib ${CPPUNIT_NAMES} )
    FIND_LIBRARY(CPPUNIT_LIBRARY_${lib} NAMES ${lib} )
    LIST(APPEND CPPUNIT_LIBRARIES ${CPPUNIT_LIBRARY_${lib}})
ENDFOREACH(lib)

# handle the QUIETLY and REQUIRED arguments and set CPPUNIT_FOUND to TRUE if.
# all listed variables are TRUE
INCLUDE(FindPackageHandleCompat)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CPPUNIT DEFAULT_MSG CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIR)

IF(NOT CPPUNIT_FOUND)
    SET( CPPUNIT_LIBRARIES )
ENDIF(NOT CPPUNIT_FOUND)

MARK_AS_ADVANCED(CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIR)
<commit_msg>build: add lib64 search path to cppunit<commit_after># - Find cppunit
# Find the native CPPUNIT includes and library
#
#  CPPUNIT_INCLUDE_DIR - where to find cppunit.h.
#  CPPUNIT_LIBRARIES   - List of libraries when using cppunit.
#  CPPUNIT_FOUND       - True if cppunit found.

# Already in cache, be silent
IF (CPPUNIT_INCLUDE_DIR)
    SET(CPPUNIT_FIND_QUIETLY TRUE)
ENDIF (CPPUNIT_INCLUDE_DIR)

FIND_PATH(CPPUNIT_INCLUDE_DIR TestSuite.h
    PATHS
    /usr/include/cppunit
    /usr/local/include/
    /usr/local/include/cppunit
    /usr/include/libcppunit
)

SET(CPPUNIT_NAMES cppunit)
FOREACH(lib ${CPPUNIT_NAMES} )
    FIND_LIBRARY(CPPUNIT_LIBRARY_${lib}
        NAMES ${lib}
        PATHS
        /usr/lib64
        /usr/lib
        /usr/local/lib64
        /usr/local/lib
    )
    LIST(APPEND CPPUNIT_LIBRARIES ${CPPUNIT_LIBRARY_${lib}})
    #message(STATUS "===== ${CPPUNIT_LIBRARY_${lib}}")
ENDFOREACH(lib)


# handle the QUIETLY and REQUIRED arguments and set CPPUNIT_FOUND to TRUE if.
# all listed variables are TRUE
INCLUDE(FindPackageHandleCompat)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(CppUnit DEFAULT_MSG CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIR)

IF(NOT CPPUNIT_FOUND)
    SET( CPPUNIT_LIBRARIES )
ENDIF(NOT CPPUNIT_FOUND)

MARK_AS_ADVANCED(CPPUNIT_LIBRARIES CPPUNIT_INCLUDE_DIR)

{'fraction_non_alphanumeric': 0.07881136950904392, 'fraction_numerical': 0.002583979328165375, 'mean_word_length': 4.652068126520681, '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': '6584082', 'n_tokens_mistral': 930, 'n_tokens_neox': 855, 'n_words': 184}