<commit_before>find_library( GOO_LIB NAMES bfd PATH /usr/lib /usr/lib64 )

include(CheckCSourceCompiles)
check_c_source_compiles(
    "#define PACKAGE Test
    #define PACKAGE_VERSION 0
  #include <bfd.h>
  int main(void) {
  return 0;
  }" BFD_WORKS)
if( BFD_LIB AND BFD_WORKS)
	set( BFD_FOUND TRUE )
endif( BFD_LIB AND BFD_WORKS)

if( BFD_FOUND )
	message( STATUS "Found libbfd: ${BFD_LIB}")
endif( BFD_FOUND )<commit_msg>Merging FindBFD cmake module from GDS branch<commit_after>find_library( BFD_LIBRARY NAMES bfd PATH /usr/lib /usr/lib64 )

find_package_handle_standard_args(bfd DEFAULT_MSG BFD_LIBRARY )

include(CheckCSourceCompiles)
check_c_source_compiles(
    "#define PACKAGE Test
    #define PACKAGE_VERSION 0
  #include <bfd.h>
  int main(void) {
  return 0;
  }" BFD_WORKS)
#if( BFD_LIBRARY AND BFD_WORKS)
#    message( STATUS "Found libbfd: ${BFD_LIBRARY}")
#endif( BFD_LIBRARY AND BFD_WORKS)

{'fraction_non_alphanumeric': 0.09581497797356828, 'fraction_numerical': 0.00881057268722467, 'mean_word_length': 5.141891891891892, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6785541', 'n_tokens_mistral': 384, 'n_tokens_neox': 371, 'n_words': 86}