Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use C++ when checking for eigen (autotools) #3690

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

d-torrance
Copy link
Member

I was playing around with building Macaulay2 in OpenIndiana and was puzzled when it failed detecting eigen.

I checked out config.log and noticed that the check failed when one of the eigen headers tried to #include <cmath>, and it couldn't find the file. It turns out that it was trying to compile using gcc instead of g++!

It's a trivial fix, just adding AC_LANG([C++]), so I'm skipping the builds.

Cc: @MichaelABurr

@d-torrance d-torrance requested a review from MichaelABurr March 12, 2025 16:01
We need gmake, so the default may not work on non-GNU systems, e.g.,
illumos.

[ci skip]
@d-torrance
Copy link
Member Author

I added another halfway-related commit, passing MAKE to the cddlib and givaro configure scripts. Both need gmake, and these scripts were failing when the default was illumos make.

@d-torrance d-torrance added waiting for review build issue platform specific issues involving compiling M2, generating examples, or running tests labels Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build issue platform specific issues involving compiling M2, generating examples, or running tests waiting for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant