<commit_before>
# Generate tsp_prjcfg header
TSP_CONFIGURE_FILE_AUTOTOOLS_COMPAT(
  include/tsp_prjcfg.h.in 
  ${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h)

TSP_XINCLUDE(${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h)

SET (INCLUDE_CORE_FILE 
  include/tsp_abs_types.h
  include/tsp_const_def.h
  include/tsp_glu.h
  include/tsp_simple_trace.h
  include/tsp_sys_headers.h
  rpc/tsp_rpc.h
  rpc/tsp_datastruct.h)
TSP_XINCLUDE(${INCLUDE_CORE_FILE})

#
# Setup RPC machinery
#
# The MACRO generated
#   tsp_rpc_rpcgen_exec_clnt and tsp_rpc_rpcgen_exec_svc targets
#   tsp_rpc_RPCGEN_OUTPUT_CLNT and tsp_rpc_RPCGEN_OUTPUT_SVC
ONCRPC_SETUP("rpc/tsp_rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/rpc/tsp_rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h")


#
# Services library
#
SET(SERVICES_LIB_SRCS
  ${SERVICES_LIB_SRCS}
  misc_utils/tsp_time
  misc_utils/tsp_mtgprof)

TSP_XINCLUDE(${SERVICES_LIB_SRCS} misc_utils/tsp_ringbuf misc_utils/tsp_services)
ADD_LIBRARY(tsp_services ${SERVICES_LIB_SRCS})
TARGET_LINK_LIBRARIES(tsp_services ${PTHREAD_LIBRARY_NAME})<commit_msg>Remove tsp_rpc.h from dependencies (tsp_rpc.h is generated)<commit_after>
# Generate tsp_prjcfg header
TSP_CONFIGURE_FILE_AUTOTOOLS_COMPAT(
  include/tsp_prjcfg.h.in 
  ${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h)

TSP_XINCLUDE(${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h)

SET (INCLUDE_CORE_FILE 
  include/tsp_abs_types.h
  include/tsp_const_def.h
  include/tsp_glu.h
  include/tsp_simple_trace.h
  include/tsp_sys_headers.h
  rpc/tsp_datastruct.h)
TSP_XINCLUDE(${INCLUDE_CORE_FILE})

#
# Setup RPC machinery
#
# The MACRO generated
#   tsp_rpc_rpcgen_exec_clnt and tsp_rpc_rpcgen_exec_svc targets
#   tsp_rpc_RPCGEN_OUTPUT_CLNT and tsp_rpc_RPCGEN_OUTPUT_SVC
ONCRPC_SETUP("rpc/tsp_rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/rpc/tsp_rpc"
  "${CMAKE_CURRENT_BINARY_DIR}/include/tsp_prjcfg.h")


#
# Services library
#
SET(SERVICES_LIB_SRCS
  ${SERVICES_LIB_SRCS}
  misc_utils/tsp_time
  misc_utils/tsp_mtgprof)

TSP_XINCLUDE(${SERVICES_LIB_SRCS} misc_utils/tsp_ringbuf misc_utils/tsp_services)
ADD_LIBRARY(tsp_services ${SERVICES_LIB_SRCS})
TARGET_LINK_LIBRARIES(tsp_services ${PTHREAD_LIBRARY_NAME})
{'fraction_non_alphanumeric': 0.09252669039145907, 'fraction_numerical': 0.0, 'mean_word_length': 7.32962962962963, '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': '1744622', 'n_tokens_mistral': 1042, 'n_tokens_neox': 976, 'n_words': 100}