1def getRoot(config): 2 if not config.parent: 3 return config 4 return getRoot(config.parent) 5 6root = getRoot(config) 7 8if root.host_os not in ['Darwin']: 9 config.unsupported = True 10 11config.environment['TSAN_OPTIONS'] += ':ignore_noninstrumented_modules=1' 12