[docs] Fix build-docs.sh
[llvm-project.git] / compiler-rt / test / tsan / Darwin / lit.local.cfg.py
blobe74e82dbf47434f9c57a9ea708f4dbe85b2405ac
1 def getRoot(config):
2 if not config.parent:
3 return config
4 return getRoot(config.parent)
6 root = getRoot(config)
8 if root.host_os not in ['Darwin']:
9 config.unsupported = True
11 config.environment['TSAN_OPTIONS'] += ':ignore_noninstrumented_modules=1'