Skip to content

Update to Work with Eigen 5.0.0#395

Merged
evaleev merged 4 commits intoevaleev:masterfrom
EricaCMitchell:eigen-5.0.0
Feb 2, 2026
Merged

Update to Work with Eigen 5.0.0#395
evaleev merged 4 commits intoevaleev:masterfrom
EricaCMitchell:eigen-5.0.0

Conversation

@EricaCMitchell
Copy link
Contributor

Description

Eigen 5.0.0 changes where version is located. Needs to find version header for Eigen 5.x.x and Eigen 3.x.x.

Details

  • Changes FindEigen3.cmake to try finding version for Eigen 5.x.x in new file Eigen/Version or try finding version for Eigen 3.x.x in old location Eigen/src/Core/util/Macros.h

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the project’s CMake Eigen finder to correctly detect the Eigen version after Eigen 5.0.0 moved its version header.

Changes:

  • Update FindEigen3.cmake to read version macros from Eigen/Version for Eigen 5.x.
  • Retain fallback logic to read version macros from Eigen/src/Core/util/Macros.h for Eigen 3.x.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@EricaCMitchell
Copy link
Contributor Author

Same thing will need to be modified in TiledArray as well, FindEigen3.cmake.

@evaleev
Copy link
Owner

evaleev commented Feb 2, 2026

Same thing will need to be modified in TiledArray as well, FindEigen3.cmake.

Yes, please.

@evaleev evaleev merged commit 8d8f5e6 into evaleev:master Feb 2, 2026
10 of 20 checks passed
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