Skip to content

Conversation

@ahoarau
Copy link
Collaborator

@ahoarau ahoarau commented Jan 5, 2026

⚠️DO NOT MERGE UNTIL jrl-umi3218/jrl-cmakemodules#798 is merged ⚠️

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
  • Migrate python tests to pytest
  • 🚧 NIX CI is temporarily disabled

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
@ManifoldFR ManifoldFR marked this pull request as ready for review January 9, 2026 20:55
@ManifoldFR ManifoldFR enabled auto-merge January 9, 2026 20:55
Copy link
Member

@ManifoldFR ManifoldFR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good to me overall 😄

@ahoarau ahoarau marked this pull request as draft January 10, 2026 07:25
auto-merge was automatically disabled January 10, 2026 07:25

Pull request was converted to draft

@ManifoldFR ManifoldFR marked this pull request as ready for review January 10, 2026 16:01
@ahoarau ahoarau marked this pull request as draft January 12, 2026 06:29
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
@ManifoldFR ManifoldFR marked this pull request as ready for review January 17, 2026 10:00
@ManifoldFR
Copy link
Member

@nim65s we will need a followup PR for Nix in the future 😃

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.

2 participants