<commit_before># Copyright (c) 2013 Turbulenz Limited.
# Released under "Modified BSD License".  See COPYING for full text.

XCODE_ROOT := /Applications/Xcode.app/Contents/Developer
XCODE_TOOLROOT := $(XCODE_ROOT)/Toolchains/XcodeDefault.xctoolchain
XCODE_PLATFORMS := $(XCODE_ROOT)/Platforms

ifeq (i386,$(ARCH))
  XCODE_PLATFORM := $(XCODE_PLATFORMS)/iPhoneSimulator.platform
  XCODE_SDK := iPhoneSimulator6.1.sdk
  CXXFLAGSPRE := -mios-simulator-version-min=5.0 \
    -fobjc-abi-version=2 \
    -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" \
    "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" \
    "-DIBAction=void)__attribute__((ibaction)"
else
  XCODE_PLATFORM := $(XCODE_PLATFORMS)/iPhoneOS.platform
  XCODE_SDK := iPhoneOS6.1.sdk
  CXXFLAGSPRE := -miphoneos-version-min=5.0
endif

XCODE_SDKROOT := $(XCODE_PLATFORM)/Developer/SDKs/$(XCODE_SDK)

CXX := $(XCODE_TOOLROOT)/usr/bin/clang<commit_msg>Automatically find the most suitable iOS SDK to use (no longer hardcoded to 6.x)<commit_after># Copyright (c) 2013 Turbulenz Limited.
# Released under "Modified BSD License".  See COPYING for full text.

XCODE_ROOT := /Applications/Xcode.app/Contents/Developer
XCODE_TOOLROOT := $(XCODE_ROOT)/Toolchains/XcodeDefault.xctoolchain
XCODE_PLATFORMS := $(XCODE_ROOT)/Platforms

ifeq (i386,$(ARCH))
  XCODE_PLATFORM := $(XCODE_PLATFORMS)/iPhoneSimulator.platform
  CXXFLAGSPRE := -mios-simulator-version-min=5.0 \
    -fobjc-abi-version=2 \
    -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" \
    "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" \
    "-DIBAction=void)__attribute__((ibaction)"
else
  XCODE_PLATFORM := $(XCODE_PLATFORMS)/iPhoneOS.platform
  CXXFLAGSPRE := -miphoneos-version-min=5.0
endif

XCODE_SDK := $(shell ls $(XCODE_PLATFORM)/Developer/SDKs | tail -n 1)
XCODE_SDKROOT := $(XCODE_PLATFORM)/Developer/SDKs/$(XCODE_SDK)

CXX := $(XCODE_TOOLROOT)/usr/bin/clang
{'fraction_non_alphanumeric': 0.13917004048582995, 'fraction_numerical': 0.015182186234817813, 'mean_word_length': 5.6120401337792645, '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': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1725109', 'n_tokens_mistral': 777, 'n_tokens_neox': 720, 'n_words': 109}