conda-forge / idyntree-feedstock

A conda-smithy repository for idyntree.
BSD 3-Clause "New" or "Revised" License
3 stars 7 forks source link

Cleanup values of Python3_INCLUDE_DIR and Python3_NumPy_INCLUDE_DIR variables used for cross-compilation #109

Closed conda-forge-admin closed 1 month ago

conda-forge-admin commented 1 month ago

Hi! This is the friendly automated conda-forge-webservice.

I've started rerendering the recipe as instructed in #108.

If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!

Here's a checklist to do before merging.

Fixes #108

github-actions[bot] commented 1 month ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

traversaro commented 1 month ago

If I do not specify Python3_INCLUDE_DIR manually, the build fails with:

Call Stack (most recent call first):
  /home/conda/feedstock_root/build_artifacts/idyntree_1727768291193/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:602 (include)
  bindings/CMakeLists.txt:44 (find_package)

CMake Error at /home/conda/feedstock_root/build_artifacts/idyntree_1727768291193/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Development.Module
  NumPy) (found version "3.10.15")
Call Stack (most recent call first):
  /home/conda/feedstock_root/build_artifacts/idyntree_1727768291193/_build_env/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE)
  /home/conda/feedstock_root/build_artifacts/idyntree_1727768291193/_build_env/share/cmake-3.30/Modules/FindPython/Support.cmake:4001 (find_package_handle_standard_args)
  /home/conda/feedstock_root/build_artifacts/idyntree_1727768291193/_build_env/share/cmake-3.30/Modules/FindPython3.cmake:602 (include)
  bindings/CMakeLists.txt:44 (find_package)