1 if not "SPIRV" in config.root.targets:
2 config.unsupported = True
4 spirv_sim_root = os.path.join(config.llvm_src_root, "utils", "spirv-sim")
6 config.substitutions.append(
9 "'%s' %s" % (config.python_executable,
10 os.path.join(spirv_sim_root, "spirv-sim.py")),
14 if config.spirv_tools_tests:
15 config.available_features.add("spirv-tools")
16 config.substitutions.append(("spirv-dis", os.path.join(config.llvm_tools_dir, "spirv-dis")))
17 config.substitutions.append(("spirv-val", os.path.join(config.llvm_tools_dir, "spirv-val")))
18 config.substitutions.append(("spirv-as", os.path.join(config.llvm_tools_dir, "spirv-as")))