Skip to content

Install via pip fails on pybind11 with cmake 4.0 #432

@asoderq

Description

@asoderq

Hi,

Just some feedback on installing via pip.

  1. I suggest installing it via https i.e.
pip install git+https://github.com/KomputeProject/kompute.git@master
  1. builtin pybind11 version doesn't compile with cmake 4.0
 CMake Error at build/temp.linux-x86_64-cpython-313/_deps/pybind-src/CMakeLists.txt:8 (cmake_minimum_required):
        Compatibility with CMake < 3.5 has been removed from CMake.

Btw I am using cachyos, what works is:

pacman -Sy pybind11
KOMPUTE_OPT_USE_BUILT_IN_PYBIND11=OFF pip install git+https://github.com/KomputeProject/kompute.git@master

This way the installation succeed, I have yet to actually test it though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions