Skip to content

remove deprecated findFFTW that fails on runners#222

Merged
smiet merged 4 commits intomasterfrom
remove_findFFTW
Apr 4, 2025
Merged

remove deprecated findFFTW that fails on runners#222
smiet merged 4 commits intomasterfrom
remove_findFFTW

Conversation

@smiet
Copy link
Copy Markdown
Collaborator

@smiet smiet commented Apr 2, 2025

the findFFTW hack has run its course, modern CMake is reasonably good at finding it, and the repo has not been updated in 4 years.

This is now causing simsopt CI to fail as findFFTW has a cmake_minimum_required(VERSION 3.5.0) somewere, and newest runners with modern CMakes refuse to continue when they see that.

Instead of patching this old workaround, and stack the hacks, I modified it to use normal CMake.

Because F2py is picky, I had to add a few extra hoops to resolve the full library path and name.

@smiet
Copy link
Copy Markdown
Collaborator Author

smiet commented Apr 3, 2025

@landreman or @mbkumar, can you check this also works on Mac installs? I do not know the tricks to findFFTW there, or in which folders to hint.

If you have more elegant solutions to circumvent findFFTW I am also all ears.

Copy link
Copy Markdown
Collaborator

@ErolBa ErolBa left a comment

Choose a reason for hiding this comment

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

LGTM

@smiet smiet merged commit 54500e4 into master Apr 4, 2025
8 checks passed
@smiet
Copy link
Copy Markdown
Collaborator Author

smiet commented Apr 4, 2025

Merging because the CI must go on

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.

4 participants