Bug 52341 - nanobind: Переложить cmake файлы в правильный для них путь
Summary: nanobind: Переложить cmake файлы в правильный для них путь
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: python3-module-nanobind (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Yuri N. Sedunov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-04 15:28 MSK by Anton Farygin
Modified: 2024-12-04 16:30 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Farygin 2024-12-04 15:28:50 MSK
Сейчас лежат тут:
/usr/lib/python3/site-packages/nanobind/cmake

А надо бы переложить в /usr/share/cmake
Иначе вылезает ошибка:

CMake Error at CMakeLists.txt:483 (find_package):
  By not providing "Findnanobind.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "nanobind",
  but CMake did not find one.

  Could not find a package configuration file provided by "nanobind" 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.
Comment 1 Yuri N. Sedunov 2024-12-04 16:26:57 MSK
С nanobind это не работает.
В качестве правильного примера использования nonobind для сборки можно посмотреть python3-module-soxr.