1 if not "SPIRV" in config.root.targets:
2 config.unsupported = True
4 if config.spirv_tools_tests:
5 config.available_features.add("spirv-tools")
6 config.substitutions.append(("spirv-dis", os.path.join(config.llvm_tools_dir, "spirv-dis")))
7 config.substitutions.append(("spirv-val", os.path.join(config.llvm_tools_dir, "spirv-val")))