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

buildig with flang fails with "multiple rules generate for allocated_memory_use_ifs.mod" #93

Open
looooo opened this issue Jan 7, 2025 · 3 comments

Comments

@looooo
Copy link

looooo commented Jan 7, 2025

We want to switch from mingw-gfortran to flang on windows. But I am running into this issue:

build stopped: multiple rules generate D:/bld/mystran_1736277984169/work/Binaries/mod/allocated_memory_use_ifs.mod.

Sadly it's not obvious for me whats wrong, thats why I decided to create this issue. Maybe someone of you knows what has to be patched.

ref: conda-forge/mystran-feedstock#5

@looooo
Copy link
Author

looooo commented Jan 8, 2025

ok this was the ninja error I was getting before. I resolved it with this commit:
dfd10a3

the modules were build twice, which ninja didn't accepted.

@Bruno02468
Copy link
Collaborator

can you wrap that commit in a PR, please? if it doesn't break any other current builds, we can merge it!

@looooo
Copy link
Author

looooo commented Jan 9, 2025

It's included here: #92

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

No branches or pull requests

2 participants