<commit_before>cmake_minimum_required(VERSION 2.6)

set(SIPHASH_SRC siphash.c)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
	set(CMAKE_C_FLAGS "-O3")
endif ()
add_library(siphash STATIC "${SIPHASH_SRC}")

add_executable(siphash-test EXCLUDE_FROM_ALL "siphash_test.c")
target_link_libraries(siphash-test siphash)
add_custom_target(check COMMAND siphash-test DEPENDS siphash-test)<commit_msg>Split test and check targets.<commit_after>cmake_minimum_required(VERSION 2.6)

set(SIPHASH_SRC siphash.c)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
	set(CMAKE_C_FLAGS "-O3")
endif ()
add_library(siphash STATIC "${SIPHASH_SRC}")

add_executable(siphash-test EXCLUDE_FROM_ALL "siphash_test.c")
target_link_libraries(siphash-test siphash)
add_custom_target(check DEPENDS siphash-test)
add_custom_target(run-test COMMAND siphash-test DEPENDS siphash-test)
{'fraction_non_alphanumeric': 0.11558854718981973, 'fraction_numerical': 0.006362672322375398, 'mean_word_length': 9.606741573033707, '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': '4959436', 'n_tokens_mistral': 399, 'n_tokens_neox': 376, 'n_words': 62}