<commit_before>SET(SDK_MIN "10.7")
SET(SDK "10.7")
SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk")

IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}")
  MESSAGE("Could not find Mac OSX SDK at: ${DEV_SDK}")
  MESSAGE("Aborting!")
  RETURN()
ENDIF()

ADD_DEFINITIONS(
  -DMAC
  -DGCC_VISIBILITY
  -mmacosx-version-min=${SDK_MIN}
  )

SET(CMAKE_OSX_SYSROOT ${DEV_SDK})<commit_msg>Have OSX SDK fallback to /Developer/SDKs<commit_after>SET(SDK_MIN "10.7")
SET(SDK "10.7")
SET(DEV_SDK "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${SDK}.sdk")
SET(DEV_SDK2 "/Developer/SDKs/MacOSX${SDK}.sdk")

IF (NOT EXISTS "${DEV_SDK}" AND NOT IS_DIRECTORY "${DEV_SDK}")
  IF (NOT EXISTS "${DEV_SDK2}" AND NOT IS_DIRECTORY "${DEV_SDK2}")
    MESSAGE("Could not find Mac OSX SDK at: ${DEV_SDK}")
    MESSAGE("Aborting!")
    RETURN()
  ELSE()
    SET(DEV_SDK ${DEV_SDK2})
  ENDIF()
ENDIF()

ADD_DEFINITIONS(
  -DMAC
  -DGCC_VISIBILITY
  -mmacosx-version-min=${SDK_MIN}
  )

SET(CMAKE_OSX_SYSROOT ${DEV_SDK})
{'fraction_non_alphanumeric': 0.1692169216921692, 'fraction_numerical': 0.0144014401440144, 'mean_word_length': 5.318181818181818, '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': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6224236', 'n_tokens_mistral': 518, 'n_tokens_neox': 447, 'n_words': 80}