[Mlir-commits] [mlir] [MLIR][Python] add Python wheel build demo/test (PR #160388)

LLVM Continuous Integration llvmlistbot at llvm.org
Wed Sep 24 02:47:28 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-nvidia` running on `mlir-nvidia` while building `mlir` at step 7 "test-build-check-mlir-build-only-check-mlir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/138/builds/19507

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-check-mlir-build-only-check-mlir) failure: test (failure)
******************** TEST 'MLIR :: Examples/standalone/test.wheel.toy' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 6
export CMAKE_BUILD_TYPE=Release
# executed command: export CMAKE_BUILD_TYPE=Release
# RUN: at line 7
export CMAKE_CXX_COMPILER=/usr/bin/clang++
# executed command: export CMAKE_CXX_COMPILER=/usr/bin/clang++
# RUN: at line 8
export CMAKE_CXX_COMPILER_LAUNCHER=
# executed command: export CMAKE_CXX_COMPILER_LAUNCHER=
# RUN: at line 9
export CMAKE_C_COMPILER=/usr/bin/clang
# executed command: export CMAKE_C_COMPILER=/usr/bin/clang
# RUN: at line 10
export CMAKE_C_COMPILER_LAUNCHER=
# executed command: export CMAKE_C_COMPILER_LAUNCHER=
# RUN: at line 11
export CMAKE_GENERATOR=Ninja
# executed command: export CMAKE_GENERATOR=Ninja
# RUN: at line 12
export LLVM_USE_LINKER=lld
# executed command: export LLVM_USE_LINKER=lld
# RUN: at line 13
export MLIR_DIR="/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/cmake/mlir"
# executed command: export MLIR_DIR=/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/lib/cmake/mlir
# RUN: at line 15
"/usr/bin/python3.10" -m pip wheel "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/examples/standalone" -w "/vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/wheelhouse" -v | tee /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/test/Examples/standalone/Output/test.wheel.toy.tmp
# executed command: /usr/bin/python3.10 -m pip wheel /vol/worker/mlir-nvidia/mlir-nvidia/llvm.src/mlir/examples/standalone -w /vol/worker/mlir-nvidia/mlir-nvidia/llvm.obj/tools/mlir/wheelhouse -v
# .---command stderr------------
# |   Running command pip subprocess to install build dependencies
# |   Using pip 24.2 from /usr/local/lib/python3.10/dist-packages/pip (python 3.10)
# |   Collecting scikit-build-core>=0.10.7
# |     Obtaining dependency information for scikit-build-core>=0.10.7 from https://files.pythonhosted.org/packages/43/49/ec16b3db6893db788ae35f98506ff5a9c25dca7eb18cc38ada8a4c1dc944/scikit_build_core-0.11.6-py3-none-any.whl.metadata
# |     Downloading scikit_build_core-0.11.6-py3-none-any.whl.metadata (18 kB)
# |   Collecting typing_extensions>=4.12.2
# |     Obtaining dependency information for typing_extensions>=4.12.2 from https://files.pythonhosted.org/packages/18/67/36e9267722cc04a6b9f15c7f3441c2363321a3ea07da7ae0c0707beb2a9c/typing_extensions-4.15.0-py3-none-any.whl.metadata
# |     Downloading typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)
# |   Collecting nanobind<3.0,>=2.9
# |     Obtaining dependency information for nanobind<3.0,>=2.9 from https://files.pythonhosted.org/packages/05/20/f8944f162df48a20f8f533f4e4faed63891aa368ceca8cc8b32d4c785ed4/nanobind-2.9.2-py3-none-any.whl.metadata
# |     Using cached nanobind-2.9.2-py3-none-any.whl.metadata (1.8 kB)
# |   Collecting pybind11<=2.13.6,>=2.10.0
# |     Obtaining dependency information for pybind11<=2.13.6,>=2.10.0 from https://files.pythonhosted.org/packages/13/2f/0f24b288e2ce56f51c920137620b4434a38fd80583dbbe24fc2a1656c388/pybind11-2.13.6-py3-none-any.whl.metadata
# |     Downloading pybind11-2.13.6-py3-none-any.whl.metadata (9.5 kB)
# |   Collecting exceptiongroup>=1.0 (from scikit-build-core>=0.10.7)
# |     Obtaining dependency information for exceptiongroup>=1.0 from https://files.pythonhosted.org/packages/36/f4/c6e662dade71f56cd2f3735141b265c3c79293c109549c1e6933b0651ffc/exceptiongroup-1.3.0-py3-none-any.whl.metadata
# |     Downloading exceptiongroup-1.3.0-py3-none-any.whl.metadata (6.7 kB)
...

```

</details>

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


More information about the Mlir-commits mailing list