Skip to content

Update Eigen to version 5.0.1 and streamline CMake configuration - #23

Merged
oberbichler merged 4 commits into
mainfrom
feature/eigen-5
May 20, 2026
Merged

oberbichler merged 4 commits into
mainfrom
feature/eigen-5

Conversation

@oberbichler

Copy link
Copy Markdown
Owner

Upgrade the Eigen library to version 5.0.1 and simplify the CMake configuration for improved build efficiency.

- Use FetchContent_MakeAvailable instead of deprecated FetchContent_Populate
- Add EXCLUDE_FROM_ALL to prevent Eigen headers from being installed into wheel
- Disable Eigen doc/test builds
The #define in hypergraph.h is insufficient because nanobind/Eigen headers
included before hypergraph.h already pull in <cmath> without the define.
Adding it as a compile definition ensures it is set before any header.
@oberbichler
oberbichler merged commit 004b9c3 into main May 20, 2026
6 checks passed
@oberbichler
oberbichler deleted the feature/eigen-5 branch May 20, 2026 12:42
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