<commit_before>cmake_minimum_required(VERSION 2.8.12)
project(igrf12 Fortran )

add_compile_options(-mtune=native)

add_executable(testigrf igrf12_demoprog.f igrf12.f)<commit_msg>cmake [ci skip]<commit_after>cmake_minimum_required(VERSION 3.3)
project(igrf12 Fortran)
enable_testing()

add_compile_options(-O3)

if(${CMAKE_Fortran_COMPILER_ID} STREQUAL GNU)
  add_compile_options(-mtune=native -Werror=array-bounds)
elseif(${CMAKE_Fortran_COMPILER_ID} STREQUAL Intel)

elseif(${CMAKE_Fortran_COMPILER_ID} STREQUAL PGI)
  add_compile_options(-Mallocatable=03)
elseif(${CMAKE_Fortran_COMPILER_ID} STREQUAL Flang) 
  add_compile_options(-Mallocatable=03)
  link_libraries(-static-flang-libs)
endif()

add_executable(testigrf igrf12_demoprog.f igrf12.f)

{'fraction_non_alphanumeric': 0.104, 'fraction_numerical': 0.030666666666666665, 'mean_word_length': 9.728571428571428, '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': '1034798', 'n_tokens_mistral': 329, 'n_tokens_neox': 299, 'n_words': 36}