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

Fix build and CI on Windows #13

Merged
merged 10 commits into from
Dec 12, 2024
Merged

Fix build and CI on Windows #13

merged 10 commits into from
Dec 12, 2024

Conversation

mdpiper
Copy link
Member

@mdpiper mdpiper commented Dec 12, 2024

This PR addresses two problems in the CI testing on Windows:

  1. the NMake build backend is erroring;
  2. the wrong Fortran compiler is being used.

I changed the build backend to Ninja (which is what Meson uses) and forced it to use the conda Fortran compiler. I had to update the CMake build configuration in the project in order to make this work, which allowed me to make other minor improvements.

One failure of this update is that I haven't figured out how to make a shared library on Windows with this configuration, so I fell back on making a static library.

@mdpiper mdpiper merged commit 10ea008 into master Dec 12, 2024
5 checks passed
@mdpiper mdpiper deleted the mdpiper/fix-windows-ci branch December 12, 2024 21:49
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.

1 participant