brintos

brintos / llvm-project-archived public Read only

0
0
Text · 517 B · bd0fabd Raw
19 lines · python
1def getRoot(config):2    if not config.parent:3        return config4    return getRoot(config.parent)5 6 7root = getRoot(config)8 9if root.target_os not in ["Linux", "FreeBSD", "NetBSD"]:10    config.unsupported = True11 12# Android O (API level 26) has support for cross-dso cfi in libdl.so.13if config.android and "android-26" not in config.available_features:14    config.unsupported = True15 16# The runtime library only supports 4K pages.17if "page-size-4096" not in config.available_features:18    config.unsupported = True19