<commit_before># Copyright (c) 2012

find_path(HWLOC_INCLUDE_DIR "hwloc.h"
  /usr/include
  /usr/local/include
  /opt/local/include 
)

# ---------------------------------
# http://www.vtk.org/Wiki/CMake_FAQ
# ---------------------------------
file(TO_CMAKE_PATH "$ENV{HWLOC_LIB_DIR}" HWLOC_LIB_DIR)
find_library(HWLOC_LIB NAMES hwloc HINTS ${HWLOC_LIB_DIR})

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(HWLOC DEFAULT_MSG HWLOC_LIB HWLOC_INCLUDE_DIR)

if(HWLOC_FOUND)
  message("-- Found HWLOC in ${HWLOC_INCLUDE_DIR}, ${HWLOC_LIB}")
else()
   message("HWLOC NOT FOUND")
endif(HWLOC_FOUND)<commit_msg>Updating FindHWLOC.cmake [ ] May break build [ ] May break existing applications (see CHANGES.txt) [ ] Bugfix [ ] New Feature [x] Cleanup [ ] Optimization [ ] Documentation<commit_after># Copyright (c) 2012 <NAME> <<EMAIL>>

find_path(HWLOC_INCLUDE_DIR "hwloc.h" 
  HINTS ${HWLOC_ROOT}/include
  /usr/include
  /usr/local/include
  /opt/local/include 
)

find_library(HWLOC_LIB NAMES hwloc 
	HINTS ${HWLOC_ROOT}
	PATHS 
	/usr/lib 
	/usr/local/lib 
	/opt/local/lib
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(HWLOC DEFAULT_MSG HWLOC_LIB HWLOC_INCLUDE_DIR)

if(HWLOC_FOUND)
  message("-- Found HWLOC in ${HWLOC_INCLUDE_DIR}, ${HWLOC_LIB}")
endif(HWLOC_FOUND)
{'fraction_non_alphanumeric': 0.1631259484066768, 'fraction_numerical': 0.006069802731411229, 'mean_word_length': 4.234126984126984, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '1302426', 'n_tokens_mistral': 516, 'n_tokens_neox': 481, 'n_words': 86}