Skip to content

Updated CMake build and set of Github Actions mimicking the stdlib package #57

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

loiseaujc
Copy link
Contributor

@loiseaujc loiseaujc commented Jul 24, 2025

I'm very grateful to @jacobwilliams for starting out this modernization of the fftpack library. However, with the developments that have happened with stdlib over the past couple of years, I feel like we should go one step further. This PR is the first of an upcoming series aiming at bringing fftpack up to the same quality and performance level as stdlib. It contains the following changes:

  • CMake build now closely parallels that of stdlib (with fypp being turned off for the moment).
  • The meson build system has been removed for now for the sake of simplicity but can be added back eventually if users ask for it.
  • The set of Github Actions now mimicks closely that of stdlib, including:
    • CI.yml : combination of unix-based OS and gfortran or intel compilers
    • CI_windows.yml : uses msys2-build for Windows
    • fpm-deployment : deploys a dedicated fpm branch (if we follow stdlib with the main branch being dedicated to the raw fypp files and CMake build) along with code coverage (via codecov)
    • PR-review.yml : simple action looking for misspelling.

The next few PRs will focus on further modernizing the existing code base (usage of do concurrent wherever appropriate, modules and submodules, etc). Note that I already started modernizing the zfft and dfft and get up a 1.3x speed-up simply by using some do concurrent facilitating the compiler's optimizations of certain loops.

As I ain't sure who is actively following this repo, I'll ping the linalg crew for now @perazz, @jvdp1 and @jalvesz.

Copy link

codecov bot commented Jul 24, 2025

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

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

Successfully merging this pull request may close these issues.

1 participant