[Mlir-commits] [mlir] [MLIR][Python] Support dialect conversion in python bindings (PR #177782)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Jan 24 08:40:27 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 3950 tests passed
* 201 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.

<details>
<summary>tools/mlir/test/CAPI/CMakeFiles/mlir-capi-rewrite-test.dir/rewrite.c.o</summary>

```
FAILED: tools/mlir/test/CAPI/CMakeFiles/mlir-capi-rewrite-test.dir/rewrite.c.o
sccache /opt/llvm/bin/clang -DLLVM_BUILD_STATIC -DMLIR_INCLUDE_TESTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/test/CAPI -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CAPI -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include -I/home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/include -fPIC -fno-semantic-interposition -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Werror=implicit-function-declaration -Wundef -Werror=mismatched-tags -O3 -DNDEBUG -UNDEBUG -MD -MT tools/mlir/test/CAPI/CMakeFiles/mlir-capi-rewrite-test.dir/rewrite.c.o -MF tools/mlir/test/CAPI/CMakeFiles/mlir-capi-rewrite-test.dir/rewrite.c.o.d -o tools/mlir/test/CAPI/CMakeFiles/mlir-capi-rewrite-test.dir/rewrite.c.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CAPI/rewrite.c
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/CAPI/rewrite.c:12:
/home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/include/mlir-c/Rewrite.h:530:61: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
530 | MLIR_CAPI_EXPORTED MlirTypeConverter mlirTypeConverterCreate();
|                                                             ^
|                                                              void
1 error generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the Mlir-commits mailing list