Skip to content

Conversation

@andrsd
Copy link
Collaborator

@andrsd andrsd commented Jan 7, 2026

Closes #761

@andrsd andrsd self-assigned this Jan 7, 2026
@andrsd andrsd added suggestion Suggestion bug-fix PR fixing a bug labels Jan 7, 2026
@andrsd
Copy link
Collaborator Author

andrsd commented Jan 7, 2026

This is a potential way how to fix #761. This locally patches PETSc sources so it can build metis and parmetis with cmake 4. I found an issue in PETSc issue tracker where the user ran into the same problem 9 months ago and the advice given was to use --download-cmake. That flag gets cmake=3 and all builds. I am not sure if PETSc installs cmake. If so then having multiple cmakes is not a godd thing IMO. If not, then we could patch the dependencies cmake script to use --download-cmake which should fix the issue for future users as well.

Do you guys have preference how to patch this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix PR fixing a bug suggestion Suggestion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forbid CMake 4. in installation guide

1 participant