[Mlir-commits] [mlir] [mlir] Python: Parse ModuleOp from file path (PR #126572)

Mehdi Amini llvmlistbot at llvm.org
Tue Feb 11 02:53:33 PST 2025


================
@@ -3049,6 +3052,21 @@ void mlir::python::populateIRCore(nb::module_ &m) {
           },
           nb::arg("asm"), nb::arg("context").none() = nb::none(),
           kModuleParseDocstring)
+#if __has_include(<filesystem>)
----------------
joker-eph wrote:

I don't think that's a OK solution: the test will fail on gcc7 builds.

https://github.com/llvm/llvm-project/pull/126572


More information about the Mlir-commits mailing list