[Mlir-commits] [llvm] [mlir] [mlir python] Add nanobind support for standalone dialects. (PR #117922)

LLVM Continuous Integration llvmlistbot at llvm.org
Tue Dec 3 09:16:09 PST 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `mlir-rocm-mi200` running on `mi200-buildbot` while building `mlir,utils` at step 4 "cmake-configure".

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

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

```
Step 4 (cmake-configure) failure: cmake (failure)
...
-- Performing Test LLVM_HAS_NOGLOBAL_CTOR_MUTEX - Success
-- Looking for __x86_64__
-- Looking for __x86_64__ - found
-- Found Git: /usr/bin/git (found version "2.25.1") 
-- Looking for logf128
-- Looking for logf128 - not found
-- Targeting NVPTX
-- Targeting AMDGPU
-- Targeting X86
-- Performing Test C_SUPPORTS_WERROR_IMPLICIT_FUNCTION_DECLARATION
-- Performing Test C_SUPPORTS_WERROR_IMPLICIT_FUNCTION_DECLARATION - Success
-- Performing Test C_SUPPORTS_WUNDEF
-- Performing Test C_SUPPORTS_WUNDEF - Success
-- Performing Test C_SUPPORTS_WERROR_MISMATCHED_TAGS
-- Performing Test C_SUPPORTS_WERROR_MISMATCHED_TAGS - Success
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter Development Development.Module Development.Embed 
-- Found Python3: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter Development.Module 
-- Found Python: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3.8") found components: Interpreter Development.Module 
-- Found python include dirs: /usr/include/python3.8
-- Found python libraries: /usr/lib/x86_64-linux-gnu/libpython3.8.so
-- Found numpy v: 
-- Checking for pybind11 in python path...
-- found (/usr/local/lib/python3.8/dist-packages/pybind11/share/cmake/pybind11)
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Performing Test HAS_FLTO_THIN
-- Performing Test HAS_FLTO_THIN - Success
-- Found pybind11: /usr/local/lib/python3.8/dist-packages/pybind11/include (found version "2.10.3")
-- Found pybind11 v2.10.3: /usr/local/lib/python3.8/dist-packages/pybind11/include
-- Python prefix = '', suffix = '', extension = '.cpython-38-x86_64-linux-gnu.so
-- Checking for nanobind in python path...
-- not found (install via 'pip install nanobind' or set nanobind_DIR)
CMake Error at /vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/mlir/cmake/modules/MLIRDetectPythonEnv.cmake:42 (find_package):
  Could not find a package configuration file provided by "nanobind"
  (requested version 2.2) with any of the following names:

    nanobindConfig.cmake
    nanobind-config.cmake

  Add the installation prefix of "nanobind" to CMAKE_PREFIX_PATH or set
  "nanobind_DIR" to a directory containing one of the above files.  If
  "nanobind" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  /vol/worker/mi200-buildbot/mlir-rocm-mi200/llvm-project/mlir/CMakeLists.txt:187 (mlir_configure_python_dev_packages)


-- Configuring incomplete, errors occurred!
See also "/vol/worker/mi200-buildbot/mlir-rocm-mi200/build/CMakeFiles/CMakeOutput.log".
See also "/vol/worker/mi200-buildbot/mlir-rocm-mi200/build/CMakeFiles/CMakeError.log".

```

</details>

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


More information about the Mlir-commits mailing list