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

Remove copies of FindMPI and FindOpenMP CMake modules. #481

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

mmuetzel
Copy link
Contributor

These modules have been copied from a (very) old version of CMake (probably a long time ago). The minimum CMake required version has been bumped to 3.10 recently which include these modules.

Additionally, the existing copy of the (old) FindOpenMP CMake module is incompatible with the CMake import targets used by newer versions of SuiteSparse libraries (CHOLMOD and UMFPACK). (That is only important when trying to use non-bundled versions of those libraries.)

Just remove the two modules that are no longer needed plus their dependencies (since they are supplied by CMake itself) and only cause issues.

These modules have been copied from a (very) old version of CMake
(probably a long time ago). The minimum CMake required version has been
bumped to 3.10 recently which include these modules.

Additionally, the existing copy of the (old) FindOpenMP CMake module is
incompatible with the CMake import targets used by newer versions of
SuiteSparse libraries (CHOLMOD and UMFPACK). (That is only important when
trying to use non-bundled versions of those libraries.)

Just remove the two modules that are no longer needed plus their
dependencies (since they are supplied by CMake itself) and only cause
issues.
@raback
Copy link
Contributor

raback commented Jul 12, 2024

Indeed, this seems to work without both with MPI and OpenMP at least on my Ubuntu. Thanx for contributing! The built system rarely gets the needed attention. Just running on other platforms and will merge if tests pass.

@raback raback merged commit 624e6c0 into ElmerCSC:devel Jul 12, 2024
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