Lines Matching +full:- +full:- +full:ignore +full:- +full:-
1 # -*- Python -*-
23 # See https://github.com/llvm/llvm-project/issues/106636 for more details.
91 subprocess.check_output([config.host_cc.strip(), "-print-resource-dir"])
92 .decode("utf-8")
103 f"-print-file-name=libclang_rt.asan-{config.host_arch}.so",
106 .decode("utf-8")
122 copied_python = os.path.join(sys.prefix, "bin", "copied-python")
124 copied_python = os.path.join(config.mlir_obj_root, "copied-python")
141 .decode("utf-8")
151 subprocess.check_call([copied_python, "-V"])
188 "mlir-tblgen",
189 "mlir-translate",
190 "mlir-lsp-server",
191 "mlir-capi-execution-engine-test",
192 "mlir-capi-ir-test",
193 "mlir-capi-irdl-test",
194 "mlir-capi-llvm-test",
195 "mlir-capi-pass-test",
196 "mlir-capi-pdl-test",
197 "mlir-capi-quant-test",
198 "mlir-capi-rewrite-test",
199 "mlir-capi-sparse-tensor-test",
200 "mlir-capi-transform-test",
201 "mlir-capi-transform-interpreter-test",
202 "mlir-capi-translation-test",
203 "mlir-runner",
208 "mlir-linalg-ods-yaml-gen",
209 "mlir-reduce",
210 "mlir-pdll",
244 ToolSubst("toyc-ch1", unresolved="ignore"),
245 ToolSubst("toyc-ch2", unresolved="ignore"),
246 ToolSubst("toyc-ch3", unresolved="ignore"),
247 ToolSubst("toyc-ch4", unresolved="ignore"),
248 ToolSubst("toyc-ch5", unresolved="ignore"),
249 ToolSubst("toyc-ch6", unresolved="ignore"),
250 ToolSubst("toyc-ch7", unresolved="ignore"),
251 ToolSubst("transform-opt-ch2", unresolved="ignore"),
252 ToolSubst("transform-opt-ch3", unresolved="ignore"),
253 ToolSubst("transform-opt-ch4", unresolved="ignore"),
254 ToolSubst("mlir-transform-opt", unresolved="ignore"),
255 ToolSubst("%mlir_lib_dir", config.mlir_lib_dir, unresolved="ignore"),
256 ToolSubst("%mlir_src_dir", config.mlir_src_root, unresolved="ignore"),
269 # Ensure we use a non-shim Python executable, for the `DYLD_INSERT_LIBRARIES`
293 ToolSubst("%PYTHON", python_executable, unresolved="ignore"),
300 ToolSubst("mlir-opt", "mlir-opt --verify-roundtrip", unresolved="fatal"),
304 tools.extend(["mlir-opt"])
309 # FileCheck -enable-var-scope is enabled by default in MLIR test
310 # This option avoids to accidentally reuse variable across -LABEL match,
311 # it can be explicitly opted-in by prefixing the variable name with $
312 config.environment["FILECHECK_OPTS"] = "-enable-var-scope --allow-unused-prefixes=false"
336 mlir_runner_exe = lit.util.which("mlir-runner", config.mlir_tools_dir)
343 [mlir_runner_exe, "--host-supports-" + feature_name],
347 print("could not exec mlir-runner")
357 config.available_features.add("host-supports-jit")
360 config.available_features.add("host-supports-nvptx")
363 config.available_features.add("host-supports-amdgpu")
366 config.available_features.add("arm-emulator")