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

detect windows linkers for flang in detect_fortran_compiler #12305

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

h-vetinari
Copy link
Contributor

It's possible to use flang on windows, but currently, detect_fortran_compiler will only run guess_nix_linker, and therefore never pick up the right linker for windows. Use the same try-except fallback that's used for C/C++ compilers also for flang.

Closes #10778
Tested in conda-forge/scipy-feedstock#246

@h-vetinari h-vetinari requested a review from dcbaker as a code owner September 29, 2023 03:12
@tristan957
Copy link
Contributor

Do you mind squashing the commits?

@tristan957 tristan957 added this to the 1.3.0 milestone Sep 29, 2023
@h-vetinari
Copy link
Contributor Author

Do you mind squashing the commits?

Not at all. Are you fine with doing that through the GitHub UI upon merging, or do you need me to do it manually?

@tristan957
Copy link
Contributor

Usually we request contributors to do it manually.

@xclaesse xclaesse modified the milestones: 1.3.0, 1.4.0 Oct 17, 2023
@h-vetinari
Copy link
Contributor Author

Anything I can do to help move this forward?

@tristan957
Copy link
Contributor

I've poked the matrix/irc channel. That is usually the best way to get people to notice you

@jpakkane jpakkane merged commit cc5a95a into mesonbuild:master Dec 11, 2023
34 checks passed
@h-vetinari h-vetinari deleted the flang_linker branch December 12, 2023 00:20
@h-vetinari
Copy link
Contributor Author

I just noticed that I inadvertently introduced a bug in the controlflow here - sorry about that. Fix is in #12803

@nirbheek nirbheek modified the milestones: 1.4.0, 1.3.3, 1.3.2 Feb 11, 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.

meson can't figure out the correct linker for flang
5 participants