Change how version requirement for Eigen3 package is enforced#2107
Change how version requirement for Eigen3 package is enforced#2107jslee02 merged 2 commits intodartsim:mainfrom
Conversation
For compatibility with Eigen3 5.0.0. Signed-off-by: Silvio Traversaro <silvio@traversaro.it>
|
Given that Eigen3 3.4.0 was released ~4 years ago, we can also considering dropping the version check: https://repology.org/project/eigen/versions . |
|
Good to know that Eigen3 5.0.0 was released!
Currently, the policy is to support Ubuntu 22.04 LTS (at least two LTS versions), so we might still need to support 3.4: https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&keywords=eigen&searchon=names |
Sure (Eigen 3.4 for now is also the one available in conda-forge), I was suggesting to drop the check: as the possibility of users using Eigen 3.3.* is quite low at this point, and dropping that if should work fine on Ubuntu 22.04 LTS . |
|
Ah, makes sense, but let's keep it just for sure :) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2107 +/- ##
=======================================
Coverage ? 61.48%
=======================================
Files ? 393
Lines ? 33144
Branches ? 4083
=======================================
Hits ? 20379
Misses ? 12765
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…m#2107) Signed-off-by: Silvio Traversaro <silvio@traversaro.it>
Eigen3 5.0.0 was released some time ago, and now it is start being used in package managers, see Homebrew/homebrew-core#246477 and conda-forge/eigen-feedstock#47 .
As
Eigen3is not released with version 5.0.0, and the CMake version config considers version to be compatible if they have the same major version, requiring Eigen3 3.4.0 does not work with Eigen3 5.0.0, so we can't pass the version directly to thefind_packageanymore. See https://gitlab.com/libeigen/eigen/-/issues/2972 and PointCloudLibrary/pcl#6354 .Before creating a pull request
pixi run test-allto lint, build, and test your changes