def __init__(self, prefix=None, min_version=6):
        UnixProfile.__init__(self, prefix)

        self.toolchain = DarwinProfile.default_toolchain
        self.name = 'darwin'
        xcode_version = backtick('xcodebuild -version')[0]
        self.env.set('xcode_version', xcode_version)
        osx_sdk = backtick('xcrun --show-sdk-path')[0]
        self.env.set('osx_sdk', osx_sdk)

        if not os.path.exists(osx_sdk):
            error('Mac OS X SDK not found under %s' % osx_sdk)

        info('%s, %s' % (xcode_version, os.path.basename(osx_sdk)))

        self.gcc_flags.extend([
            '-D_XOPEN_SOURCE',
            '-isysroot %s' % osx_sdk,
            # needed to ensure install_name_tool can succeed staging binaries
            '-Wl,-headerpad_max_install_names'
        ])

        self.ld_flags.extend([
            # needed to ensure install_name_tool can succeed staging binaries
            '-headerpad_max_install_names'
        ])

        if min_version:
            self.target_osx = '10.%s' % min_version
            self.gcc_flags.extend(
                ['-mmacosx-version-min=%s' % self.target_osx])
            self.env.set('MACOSX_DEPLOYMENT_TARGET', self.target_osx)

        if self.cmd_options.debug is True:
            self.gcc_flags.extend(['-O0', '-ggdb3'])

        if os.getenv('BOCKBUILD_USE_CCACHE') not in None:
            self.env.set('CC',  'xcrun gcc')
            self.env.set('CXX', 'xcrun g++')
        else:
            self.env.set('CC',  'ccache xcrun gcc')
            self.env.set('CXX', 'ccache xcrun g++')

        if self.arch == 'default':
            self.arch = 'darwin-32'

        self.debug_info = []
dataset/ETHPy150Open mono/bockbuild/bockbuild/darwinprofile.py/DarwinProfile.__init__/operator `is` -> `not in`