Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
9 lines (8 sloc)
361 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: This tool requires PyYAML, which is not yet a required build/test | |
# dependency. Remove this exclusion once it is a required dep. | |
# Since both lit and the python bindings use the same python interpreter, | |
# we can just check whether yaml can be imported here and exclude if not. | |
try: | |
import yaml | |
except ModuleNotFoundError: | |
config.unsupported = True |