<commit_before>cmake_minimum_required(VERSION 2.8)

project(sampleFp16)

if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)")
	set(ARM 1)
endif()

if (ARM)
	message(STATUS "detected ARM architecture")
	if (UNIX)
		add_compile_options("-mfp16-format=ieee")
		add_compile_options("-std=c99")
	endif()
endif()


add_executable(sampleFp16 main.c)
<commit_msg>make it able to build on both ARM and aarch64<commit_after>cmake_minimum_required(VERSION 2.8)

project(sampleFp16)

if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm.*|ARM.*)")
	message(STATUS "detected ARM architecture")
	add_compile_options("-mfp16-format=ieee")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64)")
	message(STATUS "detected aarch64")
endif()

add_compile_options("-std=c99")
add_executable(sampleFp16 main.c)

{'fraction_non_alphanumeric': 0.13565891472868216, 'fraction_numerical': 0.03488372093023256, 'mean_word_length': 7.908045977011494, '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': '3252104', 'n_tokens_mistral': 328, 'n_tokens_neox': 301, 'n_words': 53}