Skip to content

Conversation

@ahoarau
Copy link
Contributor

@ahoarau ahoarau commented Jan 5, 2026

This PR is a full rewrite of the CMake files with the JRL CMake Modules v2.

  • Full rewrite of the CMake Files in modern CMake
  • Remove submodules: archives can now be used
  • c++17 minimum required
  • Migrate python tests to pytest
  • Eigen 5 build fixes

NOTE: This the commit are cherry-picked and squashed from the previously accidentitaly merged #28

@ahoarau ahoarau marked this pull request as draft January 5, 2026 14:05
ahoarau added 29 commits January 5, 2026 17:15
gersemirc: put back gersemi definitions
no chance observed in this repo. Its for future proofness.
ignore nix result

ignore conda generated files
use set_property for multiline env

fetch jrl-cmakemodules if not found, tmp solution
add missing COMMAND to check if command is available

add a check for the python module name inside the lib

no need to compile python files, we don't have any

include stubs pyi files in installation
on ubuntu 24.04 the nanobind-dev package brind an old incompatible version 1.9.2-1

fallback to fetchcontent if nanobind 2.5.0 is not found.
we mimic the upstream behavior, but using fetchcontent instead of submodules
look for version >=1.1.2 of the jrl
we havent updated the version number yet
if we apt install nanobind-dev on ubuntu 24, we get nanobind 1.9.1, which does not ship version from the config file

require python 3.11 for stubs generation
ROS Humble not supported

use VERSION_GREATER_EQUAL and use correct python var

add BUILD_TESTING so it appears in the summary
disabling cache for testing
pixi.toml: remove duplicated nanoeigenpy
Otherwise the lib is install in %PREFIX%/Library/Lib/site-packages/nanoeigenpy.pyd
But we need %PREFIX%/Lib/site-packages/nanoeigenpy.pyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant