<commit_before>include(CheckCXXSourceCompiles)

CHECK_CXX_SOURCE_COMPILES("
    static thread_local int blah;
    int main() {
      return 0;
    }
    " HAS_THREAD_LOCAL)

if( NOT HAS_THREAD_LOCAL )
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Dthread_local=__thread")
endif()

set(LIBFUZZER_FLAGS_BASE "${CMAKE_CXX_FLAGS}")<commit_msg>Fixup for r301007: Restrict the -D hack to Darwin.<commit_after>include(CheckCXXSourceCompiles)

if( APPLE )
  CHECK_CXX_SOURCE_COMPILES("
      static thread_local int blah;
      int main() {
        return 0;
      }
      " HAS_THREAD_LOCAL)

  if( NOT HAS_THREAD_LOCAL )
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Dthread_local=__thread")
  endif()
endif()

set(LIBFUZZER_FLAGS_BASE "${CMAKE_CXX_FLAGS}")
{'fraction_non_alphanumeric': 0.102803738317757, 'fraction_numerical': 0.010680907877169559, 'mean_word_length': 4.474452554744525, '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': '5254126', 'n_tokens_mistral': 301, 'n_tokens_neox': 269, 'n_words': 50}